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 |
Why cann't whole array can be passed to function as value.
What are the loops in c?
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.
if a is an integer variable, a=5/2; will return a value a) 2.5 b) 3 c) 2 d) 0
What is the difference between typedef struct and struct?
Write a program to remove the C comments(/* */) and C++ comments(//) from a file. The file should be declared in command line.
what is the similarities between. system call and library function?
explain what are actual arguments?
Write a program to find minimum between three no.s whithout using comparison operator.
What is the use of the function in c?
Can I pass constant values to functions which accept structure arguments?
Explain the use of bit fieild.