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
What are multidimensional arrays?
Is c easier than java?
Should a function contain a return statement if it does not return a value?
What are near, far and huge pointers?
What is the size of enum in bytes?
Tell me the use of bit field in c language?
write a c program to find the largest and 2nd largest numbers from the given n numbers without using arrays
what are the facialities provided by you after the selection of the student.
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What does c in a circle mean?
Why is main function so important?
What is an auto keyword in c?
Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
Explain what is the general form of a c program?