Question:What will be output if you will compile and execute the following c code?
#include<stdio.h>
int main(){
  int a=5;
  float b;
  printf("%d",sizeof(++a+b));
  printf(" %d",a); 
  return 0;
}
 

A 2 6 

B 4 6 

C 2 5 

D 4 5 

E Compiler error 

+ Answer
+ Report
Total Preview: 1926

Copyright © 2024. Powered by Intellect Software Ltd