Question:What will be output if you will compile and execute the following c code?
#include<stdio.h>
int main(){
  float f;
  f=3/2;
  printf("%f",f); 
  return 0;
}
 

A 1.5 

B 1.500000 

C 1.000000 

D Compiler error 

E None 

+ Answer
+ Report
Total Preview: 1119

Copyright © 2024. Powered by Intellect Software Ltd