what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.
Answer Posted / srinivas
the above question will give the output 0.
| Is This Answer Correct ? | 2 Yes | 3 No |
Post New Answer View All Answers
What is the difference between void main and main in c?
Is it possible to use curly brackets ({}) to enclose single line code in c program?
Can you please explain the scope of static variables?
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is the correct code to have following output in c using nested for loop?
Why static is used in c?
What is fflush() function?
Explain the priority queues?
What is difference between main and void main?
What is c language and why we use it?
What is pass by reference in functions?
What is array in c with example?
What is sizeof int in c?
write a program to print data of 5 five students with structures?
Why is it important to memset a variable, immediately after allocating memory to it ?