Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
    static int i;
    for(;;)
    if(i+++"The Matrix")
          printf("Memento");
    else
         break;
}
 

A It will print Memento at one time 

B It will print Memento at three times 

C It will print Memento at ten times 

D It will print Memento at infinite times 

E Compilation error: Unknown operator +++ 

+ Answer
+ Explanation
+ Report
Total Preview: 651

Copyright © 2024. Powered by Intellect Software Ltd