Top

Discussion

Predict the output of the following program:

#include  
int main() 
{ 
    char str[] = "%d %c", arr[] = "GeeksQuiz"; 
    printf(str, 0[arr], 2[arr + 3]); 
    return 0; 
} 

 

  • A.G Q
  • B.71 81
  • C.71 Q
  • D.Compile-time error

Answer: C

No answer description available for this question.
 

No comment is present. Be the first to comment.
Loading…

Post your comment