MCQOPTIONS
Saved Bookmarks
| 1. |
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; } |
| A. | Mello |
| B. | Hello |
| C. | HMello |
| D. | MHello |
| Answer» B. Hello | |