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 |
2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);
Explain the use of keyword 'register' with respect to variables.
Write a c program to enter a string of paragraph and replacing a particular word which is repeated in the paragraph by another word?
2 Answers ME, Synfusion, Wipro,
Explain how do you declare an array that will hold more than 64kb of data?
code for concatination of 2 strings with out using library functions?
What is typedef example?
What 'lex' does?
Explain the meaning of keyword 'extern' in a function declaration.
What are the 4 types of functions?
what do structure language means?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
What is the scope of local variable in c?