C Programming :: Pointers - Discussion
Home > C Programming > Pointers > MCQs Questions Discussion
56 / 60
What is the output of the following 'C' program ?
#include<stdio.h>
int main()
{
char *a="Hello";
*a++ = 'h';
printf("%s\n",a);
}
#include<stdio.h>
int main()
{
char *a="Hello";
*a++ = 'h';
printf("%s\n",a);
}
Ahello
Bello
Crun time error
Dcompiler error
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!