C Programming :: Basic Concepts - Discussion
Home > C Programming > Basic Concepts > MCQs Questions Discussion
43 / 90
What will be output of the following "c" code?
#include<stdio.h>
void main ( )
{
printf(5+"Hello world");
}
#include<stdio.h>
void main ( )
{
printf(5+"Hello world");
}
AHello world
BHelo
Cworld
DCompilation Error
Answer: Option (Login/Signup)
Show Explanation
Hence, the output will be world.
Asked In ::
STEP-BY-STEP
It will print the characters starting from the 5th index(i.e, starting from the blank space) to the character present at (n-1)th index, or 10th index(i.e, ending at d).
Hence, the output will be world.
Read Full Answer
Report Error
Please Login First Click Here