char ch="{'H','I',0};printf("%s",ch);what is output
Answer Posted / sathish kumar
Hi All,
this is sathish. upto my knwowledge it depends on
compiler. in TurboC if u give char ch={'AB'}; it will
print B. In VC++ if u give char ch={'ABC'} it will give
C. But in TurboC u cannot give like this char ch={'ABC'};
(three character r nt allowed).
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is a house a shell structure?
What is a file descriptor in c?
What functions are in conio h?
The difference between printf and fprintf is ?
How pointer is different from array?
Differentiate call by value and call by reference?
How can a number be converted to a string?
When should volatile modifier be used?
difference between object file and executable file
What is a void * in c?
What are the types of variables in c?
What is the size of a union variable?
How can you determine the maximum value that a numeric variable can hold?
Why do we use pointer to pointer in c?
Is there anything like an ifdef for typedefs?