Question:What will be output if you will compile and execute the following c code?


#include<stdio.h>
int main(){
  float f=5.5f;
  float x;
  x=f%2;
  printf("%f",x);
  return 0;

A 1.500000 

B 1.000000 

C 5.500000 

D Compiler error 

E None 

+ Answer
+ Report
Total Preview: 1153

Copyright © 2024. Powered by Intellect Software Ltd