What is the output of the following program main();{printf
("chennai""superkings"};

a. Chennai

b. superkings

c. error

d. Chennai superkings

Answer Posted / steve booth

The character strings will be concatenated, but NO space will be inserted between the first and second. The correct answer is "chennaisuperkings".

Is This Answer Correct ?    8 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I manipulate strings of multibyte characters?

641


Hi how many types of software editions are there and their difference (like home editions, enterprise, standard etc) can u please help me

1470


What does void main () mean?

738


What are c preprocessors?

681


Where can I get an ansi-compatible lint?

645






What are the disadvantages of a shell structure?

697


What does %p mean c?

634


What are the different types of linkage exist in c?

615


What is pointer and structure in c?

576


Tell us bitwise shift operators?

601


What are the advantages of union?

630


Is main is a keyword in c?

613


What are the features of c language?

623


Where static variables are stored in memory in c?

526


What is output redirection?

696