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 |
What is the difference between class and object in c?
in multiple branching construct "default" case is a) optional b) compulsarily c) it is not include in this construct d) none of the above
Write a program to print factorial of given number without using recursion?
the output will be #include<stdio.h> int main () { int i; i = 9/2; printf("%i",i); return 0; }
What is maximum size of array in c?
Difference between linking and loading?
What is sparse file?
What is structure padding & expalain wid example what is bit wise structure?
can u suggest me am in a confusion to choose whether to go to c programming or a software testing . am a graduate in B.sc(electronics).
Why should I prototype a function?
What is local and global variable in c?
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