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 / srsabariselvan
6
because it'll print the last garbage value stored.
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is stack in c?
Under what circumstances does a name clash occur?
What is the concatenation operator?
What is a pointer in c?
Why string is used in c?
What is the use of typedef in structure in c?
What are structure members?
Why array is used in c?
Write a program to identify if a given binary tree is balanced or not.
int far *near * p; means
Do pointers take up memory?
cin.ignore(80, _ _);This statement a) ignores all input b) ignores the first 80 characters in the input c) ignores all input till end-of-line d) iteration
How many types of operators are there in c?
What are 3 types of structures?
Define macros.