In below program, what would you put in place of “?” to print “TATA”.…
PYQ TCS NQT 2025
In below program, what would you put in place of “?” to print “TATA”. Obviously, something other than “TATA”.
int main()
{
char arr[] = "TATA and TATA";
printf("%s", ?);
getchar();
return 0;
}
- A.
It is not possible to print TATA without mentioning "TATA" in place of "?"
- B.
The program contains error
- C.
arr+9
- D.
&arr + 8
Attempted by 674 students.
Sign up free to check your answer
Sign up freeLoading lesson…

