C Programming :: Basic Concepts - Discussion
Home > C Programming > Basic Concepts > MCQs Questions Discussion
20 / 90
What is the output of the following 'C' program ?
#include<stdio.h>
void main()
{
printf(5 + "Fascimile");
}
#include<stdio.h>
void main()
{
printf(5 + "Fascimile");
}
AError
BFascimile
Cmile
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Hence, the output is mile.
Asked In ::
STEP-BY-STEP
In line no. 4, '5' denotes that the characters should be displayed from the 5th index to the (n-1)th index i.e, 8th index in the given string "Fascimile".
Hence, the output is mile.
Read Full Answer
Report Error
Please Login First Click Here