Discussion :: Input / Output
-
What will be the output of the program ?
#include
int main() { int a=250; printf("\n", a); return 0; }
Answer : Option D
Explanation :
int a=250; The variable a is declared as an integer type and initialized to value 250.
printf("\n", a); It prints the value of variable a.
Hence the output of the program is 250.
Be The First To Comment