What will be the output of the following segment of the program?
main( )
{
char *s = “hello world”;
int i = 7;
printf(“%, *s”, i, s);
}
(A) Syntax error (B) hello w
(C) hello (D) o world
main( )
{
char *s = “hello world”;
int i = 7;
printf(“%, *s”, i, s);
}
(A) Syntax error (B) hello w
(C) hello (D) o world