What is the output of the following program main();{printf
("chennai""superkings"};
a. Chennai
b. superkings
c. error
d. Chennai superkings
Answers were Sorted based on User's Feedback
Answer / goutham
error
declaration error after main() that is it declared as main();
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / 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 |
Answer / isha
There is an error in this statement also:
printf("chennai""superkings"};
')' is missing in this printf statement
| Is This Answer Correct ? | 5 Yes | 1 No |
Explain how can you tell whether a program was compiled using c versus c++?
Explain what are multidimensional arrays?
write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.
What is an arrays?
wap in c to accept n number display the highest and lowest value
What is main () in c?
Print all numbers which has a certain digit in a certain position eg: number=45687 1 number=4 2 number=5 etc
What is a lvalue
what is the difference between c and java?
How can I get the current date or time of day in a c program?
What is the purpose of sprintf() function?
What are the advantages of Macro over function?