what will be the output:
main(){char ch;int a=10;printf("%d",ch);}
Answer Posted / kalpana.y
There will be no output
because,in printf statement the integer variable is
declared but 'ch' is assinged.it should be 'a' insted
of 'ch'.
| Is This Answer Correct ? | 5 Yes | 5 No |
Post New Answer View All Answers
Explain how do you print an address?
Is it cc or c in a letter?
What is the purpose of scanf() and printf() functions?
What is a 'null pointer assignment' error?
What is page thrashing?
Write a progarm to find the length of string using switch case?
What is an array in c?
Should I learn c before c++?
What is dynamic dispatch in c++?
What is the best organizational structure?
What is void main () in c?
to find the closest pair
Can you return null in c?
How can I change their mode to binary?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above