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 |
Can i use Two or More Main Funtion in any C program.?
what is the difference between 123 and 0123 in c?
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
can we declare a variable in different scopes with different data types? answer in detail
Should I learn data structures in c or python?
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.
i got 75% in all semester am i eligible for your company
main() { printf(5+"Vidyarthi Computers"); }
What is difference between structure and union in c programming?
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
Why do we need a structure?
How can variables be characterized?