Question:What will be output when you will execute following c code?
#include<stdio.h>
void main(){
    char c=256;
    char *ptr="Leon";
    if(c==0)                                
         while(!c)
             if(*ptr++)
                 printf("%+u",c);
             else
                 break;
}
Choose all that apply: 

A +256+256+256+256 

B 0000 

C +0+0+0+0 

D It will print +256 at infinite times 

E Compilation error 

+ Answer
+ Explanation
+ Report
Total Preview: 1344

Copyright © 2024. Powered by Intellect Software Ltd