Question
#include<stdio.h>
int main()
{
char str[20] = "Hello";
char *const p=str;
*p='M';
printf("%s\n", str);
return 0;
}
What will be the output of the program ?
#include<stdio.h>
int main()
{
char str[20] = "Hello";
char *const p=str;
*p='M';
printf("%s\n", str);
return 0;
}
Answer: Option A
Was this answer helpful ?
No answer description available for this question.
Was this answer helpful ?
More Questions on This Topic :
Question 7.
A pointer is
....
Submit Solution