Given the following code fragment:

1.1 Given the following code fragment:
void main(void)
{
char x = ‘\0’;
char n = ‘N’;
printf(“%u” ”%s\n”, &n, &n);
}
What will be the result of execution?
A) ddddd N ( where d represents any digit)
B) 78 N
C) 78 garbage
D) compilation error

Leave a Reply