Sail E0 Webinar
Question


What will be the output of the program ?


#include<stdio.h>
int main()
{
char *str;
str = "%d\n";
str++;
str++;
printf(str-2, 300);
return 0;
}
Options:
A .  No output
B .  30
C .  3
D .  300
Answer: Option D

No answer description available for this question. 



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers