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 |
Is anything faster than c?
A program to write a number of letters and numbers, such as counting and display
Write a program to compute the following 1!+2!+...n!
How do you construct an increment statement or decrement statement in C?
What do you mean by a sequential access file?
int main() { unsigned char a = 0; do { printf("%d=%c\n",a,a); a++; }while(a!=0); return 0; } can anyone please explain me output????
the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b
How does pointer work in c?
#include<stdio.h> main() {int i=1;j=1; for(;;) {if(i>5) break; else j+=1; printf("\n%d",j) i+=j; } }
Is c is a procedural language?
the data type used for unlimited value in c and how to do this program
print ur name 20,000 times without using inbuilt library functions like printf,scanf,gets,puts,getchar or putchar