int a=20;
int b=30;
int c=40;
printf("%d%d%d");
what will be the output?
Answer Posted / sangam khera
depending upon the compiler ....
IN TURBO C++ -> it will give an error a,b,c assigned a valued that is never used."
IN GCC(DEV C++)->it will give garbage value....
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
In a header file whether functions are declared or defined?
Is there a way to compare two structure variables?
What is the difference between a string and an array?
What are the general description for loop statement and available loop types in c?
Can a variable be both constant and volatile?
a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above
What are the 4 data types?
Explain what does it mean when a pointer is used in an if statement?
which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;
Why clrscr is used after variable declaration?
What is the scope of static variables in c language?
Find MAXIMUM of three distinct integers using a single C statement
What are the main characteristics of c language describe the structure of ac program?
Why is not a pointer null after calling free? How unsafe is it to use (assign, compare) a pointer value after it is been freed?
Explain how do you sort filenames in a directory?