Sail E0 Webinar
Question


What will be the output of the program ?


#include<stdio.h>
int main()
{
char *str;
str = "%s";
printf(str, "K\n");
return 0;
}
Options:
A .  Error
B .  No output
C .  K
D .  %s
Answer: Option C

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