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
How pointer is different from array?
Why is structure padding done in c?
What is sizeof array in c?
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
Does c have circular shift operators?
How do shell structures work?
HOW TO SOLVE A NUMERICAL OF LRU IN OS ??????
Why are all header files not declared in every c program?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
When should the const modifier be used?
What is the use of ?: Operator?
How to explain the final year project as a fresher please answer with sample project
How can you tell whether a program was compiled using c versus c++?
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is the collection of communication lines and routers called?