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.
Answers were Sorted based on User's Feedback
Answer / srsabariselvan
6
because it'll print the last garbage value stored.
| Is This Answer Correct ? | 3 Yes | 1 No |
What’s a signal? Explain what do I use signals for?
Can anyone tell what is stack overflow? what precaution we should take?
count the numbers between 100 and 300, that star with 2 and ends with 2
write a program to sort the elements in a given array in c language
difference between Low, Middle, High Level languages in c ?
In c programming, explain how do you insert quote characters (? And ?) Into the output screen?
What does #pragma once mean?
What is this pointer in c plus plus?
How to print %d in output
Explain what is the use of a semicolon (;) at the end of every program statement?
Write a C program to perform some of the operation which can be performed using Single linked list
When do you say that a digraph is acyclic A)if and only if its first search does not have back arcs B)a digraph is acyclic if and only if its first search does not have back vertices C)if and only if its first search does not have same dfnumber D)None of these