0
What will be the output of the following code?
#include <stdio.h>
int main()
{
char str[20] = "Hello, World!";
printf("%s\n", str + 7);
return 0;
}- AWorld!
- B, World!
- CCompilation error
- DHello, World!
Correct answer: A
#include <stdio.h>
int main()
{
char str[20] = "Hello, World!";
printf("%s\n", str + 7);
return 0;
}