Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Java by (45k points)

#include <stdio.h>

int main()

{

 int x = 1, y = 2;

 printf("%d", x, y);

 return 0;

}

A) 1

B) 2

C) Compilation Error

D) Garbage Value

E) None of these

1 Answer

0 votes
by (99k points)

The correct answer to the question “What is the output of this Program” is, option (a). 1. And all the other options are incorrect. If wish to learn a Programming Language, then check out the ensuing YouTube video on Best Way to Learn Coding to get a better understanding and if you are serious about getting upskilled by learning a Programming Language, check out industry-grade online programming courses from a reputed e-learning company and get started.

Browse Categories

...