Home » C Programming » Pointers

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; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!