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
Write a program to print factorial of given number without using recursion?
What are the advantages of the functions?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
What is getch c?
Explain null pointer.
Explain what is wrong with this statement? Myname = ?robin?;
what will be the output for the following main() { printf("hi" "hello"); }
How can I write a function analogous to scanf?
Who invented b language?
How pointer is different from array?
A routine usually part of the operation system that loads a program into memory prior to execution a) linker b) loader c) preprocessor d) compiler
How many types of operators are there in c?
What language is lisp written in?
Why enum is used in c?
What is a #include preprocessor?