Question PRG-C-0072
HardWhat is the output of this program?
#include <stdio.h>
int main() {
char str[] = "Programming";
char *p = str + 3;
p[4] = '\0';
printf("%s %s", p, str);
return 0;
}
- A.
gram Progr
- B.
gramming Program
- C.
Sign up free to see the answer and a step-by-step explanation.