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
program to find out date after adding 31 days to a date in the month of febraury also consider the leap year
How can a program be made to print the line number where an error occurs?
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
Write a c program to build a heap method using Pointer to function and pointer to structure ?
Given two strings S1 and S2. Delete from S2 all those characters which occur in S1 also and finally create a clean S2 with the relevant characters deleted.
Define and explain about ! Operator?
Tell me about low level programming languages.
Explain what is output redirection?
define string ?
Difference between Shallow copy and Deep copy?
Is fortran still used today?
What is a pointer in c?
Tell me when would you use a pointer to a function?
why return type of main is not necessary in linux
difference between native and cross compilers