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

if the total selling price of 15 items and the total profit earned on them is input through the keyboard, write a program to find the cost price of one of the item

2 Answers  


main() { int x=20,y=35; x = y++ + x++; y = ++y + ++x; printf("%d %d\n",x,y); } what is the output?

10 Answers   Ramco,


Why cd or dvd are round why not square.

1 Answers  


What is meant by int main ()?

1 Answers  


how does printf function work

1 Answers  


What is time complexity c?

1 Answers  


main() { printf("hello"); fork(); }

1 Answers   Wilco,


write a program that uses point of sale system. which are mainly used by retail markets, where the is a database inventory list, a slip should be printed for the customer. manage should be able to access what has been sold and what is left from stock?

1 Answers  


find second largest element in array w/o using sorting techniques? use onle one for loop.

15 Answers   BitWise, Zycus Infotech,


main() { int i = 1; int num[] = {1,2,3,4}; num[i] = i++; printf("%d", num[i]); } what will be the output? }

22 Answers   NDS, TCS,


what is the difference between these initializations? Char a[]=”string”; Char *p=”literal”; Does *p++ increment p, or what it points to?

4 Answers  


Define VARIABLE?

1 Answers   ADP,


Categories