Sail E0 Webinar
Question


What will be the output of the program ?


#include<stdio.h>
#include<string.h>
int main()
{
static char s[] = "Hello!";
printf("%d\n", *(s+strlen(s)));
return 0;
}
Options:
A .  8
B .  0
C .  16
D .  Error
Answer: Option B

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