C Programming :: Arrays - Discussion
Home > C Programming > Arrays > MCQs Questions Discussion
52 / 55
What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
char p[]="Hello";
p[0]='h';
printf("%s\n", p);
}
#include<stdio.h>
int main()
{
char p[]="Hello";
p[0]='h';
printf("%s\n", p);
}
Ahello
BHello
Ccompiler error
Drun time error
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!