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

Can i use Two or More Main Funtion in any C program.?

4 Answers  


what is the difference between 123 and 0123 in c?

0 Answers  


a linearly ordered set of data elements that have the same structure and whose order is preserved in storage by using sequential allocation a) circular b) ordinary c) array d) linear list

0 Answers  


can we declare a variable in different scopes with different data types? answer in detail

3 Answers   TCS,


Should I learn data structures in c or python?

0 Answers  






Write a program to replace n bits from the position p of the bit representation of an inputted character x with the one's complement. Method invertBit takes 3 parameters x as input character, p as position and n as the number of positions from p. Replace n bits from pth position in 8 bit character x. Then return the characters by inverting the bits.

0 Answers   Infosys,


i got 75% in all semester am i eligible for your company

0 Answers   Infosys,


main() { printf(5+"Vidyarthi Computers"); }

6 Answers  


What is difference between structure and union in c programming?

0 Answers  


write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34

0 Answers  


Why do we need a structure?

0 Answers  


How can variables be characterized?

0 Answers  


Categories