πŸ“Š C Programming
Q. In below program, what would you put in place of “?” to print “Quiz”?
Code:
#include <stdio.h>
int main() 
{ 
  char arr[] = "GeeksQuiz"; 
  printf("%s", ?); 
  return 0; 
}
  • (A) arr
  • (B) (arr+5)
  • (C) (arr+4)
  • (D) Not possible
πŸ’¬ Discuss
βœ… Correct Answer: (B) (arr+5)

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
391
Total Visits
πŸ“½οΈ
3 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
99%
Success Rate