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


Please Help Members By Posting Answers For Below Questions

In a header file whether functions are declared or defined?

637


Is there a way to compare two structure variables?

621


What is the difference between a string and an array?

714


What are the general description for loop statement and available loop types in c?

691


Can a variable be both constant and volatile?

568






a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

665


What are the 4 data types?

604


Explain what does it mean when a pointer is used in an if statement?

621


which of the following statement is wrong a) mes=123.56; b) con='T'*'A'; c) this='T'*20; d) 3+a=b;

2438


Why clrscr is used after variable declaration?

1049


What is the scope of static variables in c language?

634


Find MAXIMUM of three distinct integers using a single C statement

632


What are the main characteristics of c language describe the structure of ac program?

616


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?

605


Explain how do you sort filenames in a directory?

616