Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
    int x=-1,y=-1;
    if(++x=++y)
         printf("R.T. Ponting");
    else
         printf("C.H. Gayle");
}
Choose all that apply: 

A R.T Ponting 

B C.H. Gayle 

C Warning: x and y are assigned a value that is never used 

D Warning: Condition is always true 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 961

Copyright © 2024. Powered by Intellect Software Ltd