in Programming in C
527 views
0 votes
0 votes

main () {

static char *s[] = {

“ice”,

“green”,

“cone”,

“please”,

};

static char **ptr[] = {s+3,s+2,s+1,s};

char ***p = ptr;

printf(“\n%s”, **++p);

printf(“\n%s”, *--*++p+3);

printf(“\n%s”, *p[-2]+3);

printf(“\n%s”, p[-1][-1]+1);

}

 

  1. cone, ase, reen
  2. ice, green, cone
  3. green, cone, please
  4. None of the above

 

 

in Programming in C
527 views

2 Answers

0 votes
0 votes
option B may be the right answer.
0 votes
0 votes

b. ice, green, cone ..

 

1. https://gateoverflow.in/215300/C-programming

by

Related questions