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 are the rules for the identifier?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
formula to convert 2500mmh2o into m3/hr
int far *near * p; means
What are the rules for identifiers in c?
What happens if header file is included twice?
Here is a good puzzle: how do you write a program which produces its own source code as output?
Explain the advantages and disadvantages of macros.
What are the Advantages of using macro
Explain a file operation in C with an example.
What is data type long in c?
Explain what is the advantage of a random access file?
how do you execute a c program in unix.
regarding pointers concept
How to set file pointer to beginning c?