Consider the following C function C#include <stdio.h> int main(void) { char c[…
ISRO Scientist/Engineer SC 2017
Consider the following C function
C#include <stdio.h>
int main(void)
{
char c[ ] = "ICRBCSIT17";
char *p=c;
printf("%s", c+2[p] – 6[p] – 1);
return 0;
}
The output of the program is
- A.
SI
- B.
IT
- C.
T1
- D.
17
Attempted by 510 students.
Sign up free to check your answer
Sign up freeLoading lesson…

