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
Here is a good puzzle: how do you write a program which produces its own source code as output?
How many data structures are there in c?
write a program to create a sparse matrix using dynamic memory allocation.
How can I open files mentioned on the command line, and parse option flags?
What is s in c?
What is an lvalue?
How can I swap two values without using a temporary?
How was c created?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
What is the difference between procedural and declarative language?
How pointers are declared?
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
What is c method?
How do you override a defined macro?
What are the types of data types and explain?