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



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

Answer / goutham

error

declaration error after main() that is it declared as main();

Is This Answer Correct ?    11 Yes 1 No

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

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

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

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

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

Answer / guest

error

Is This Answer Correct ?    2 Yes 0 No

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

Answer / 1215

c.error
because1.comma(,) missing
2.main();
3.')'

Is This Answer Correct ?    2 Yes 1 No

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

Answer / bhargavi

Chennai superkings

Is This Answer Correct ?    3 Yes 8 No

Post New Answer

More C Interview Questions

2.main { int x,j,k; j=k=6;x=2; x=j*k; printf("%d", x);

9 Answers   HCL, Tech Mahindra,


Explain the use of keyword 'register' with respect to variables.

0 Answers  


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?

0 Answers  


code for concatination of 2 strings with out using library functions?

3 Answers  






What is typedef example?

0 Answers  


What 'lex' does?

0 Answers   Tech Mahindra,


Explain the meaning of keyword 'extern' in a function declaration.

0 Answers  


What are the 4 types of functions?

0 Answers  


what do structure language means?

3 Answers   Microsoft,


What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?

0 Answers  


What is the scope of local variable in c?

0 Answers  


Categories