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
‘ C’ PROGRAME TO SHOW THE TYPE OF TRANGLE BY ACCEPTING IT’S LENGTH .
What are the three constants used in c?
What is a double c?
Why does not c have an exponentiation operator?
How do I convert a string to all upper or lower case?
#include
What is array of pointers to string?
What is the meaning of typedef struct in c?
Explain what is page thrashing?
Is there anything like an ifdef for typedefs?
What is the difference between volatile and const volatile?
What is the size of enum in bytes?
How to write a code for reverse of string without using string functions?
What is #pragma statements?
What is a pointer in c?