Question:What will be output when you will execute following c code?
#define PRINT printf("Star Wars");printf(" Psycho");
#include<stdio.h>
void main(){
    int x=1;
    if(x--)
         PRINT
    else
         printf("The Shawshank Redemption");
}
Choose all that apply: 

A Stars Wars Psycho 

B The Shawshank Redemption 

C Warning: Condition is always true 

D Warning: Condition is always false 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 3330

Copyright © 2024. Powered by Intellect Software Ltd