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

Why cann't whole array can be passed to function as value.

1 Answers  


What are the loops in c?

0 Answers  


write a C program: To recognize date of any format even formats like "feb-02-2003","02-february-2003",mm/dd/yy, dd/mm/yy and display it as mm/dd/yy.

0 Answers   Subex,


if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0

0 Answers  


What is the difference between typedef struct and struct?

0 Answers  






Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.

4 Answers   Persistent, Subex,


what is the similarities between. system call and library function?

1 Answers   Wipro,


explain what are actual arguments?

0 Answers  


Write a program to find minimum between three no.s whithout using comparison operator.

4 Answers   IBM,


What is the use of the function in c?

0 Answers  


Can I pass constant values to functions which accept structure arguments?

2 Answers  


Explain the use of bit fieild.

0 Answers  


Categories