51
What will be the output of the following C code?
#include <stdio.h>
void f(char *k)
{
k++;
k[2] = 'm';
printf("%c\n", *k);
}
void main()
{
char s[] = "hello";
f(s);
} Answer & Solution
Answer: Option
B
No explanation is given for this question. Let's Discuss on Board