3 votes 3 votes int main() { float a =5.2; if(a==5.2) pf("equal"); else if(a<5.2) pf("less than"); else pf("greater than"); } A_i_$_h asked Oct 10, 2017 A_i_$_h 966 views answer comment Share Follow See all 4 Comments See all 4 4 Comments reply Prashant. commented Oct 10, 2017 reply Follow Share less than... 0 votes 0 votes A_i_$_h commented Oct 10, 2017 reply Follow Share how?? please can u explain in elaborate 0 votes 0 votes Prashant. commented Oct 10, 2017 reply Follow Share https://gateoverflow.in/157470/programming-in-c https://gateoverflow.in/157684/programming 0 votes 0 votes A_i_$_h commented Oct 10, 2017 reply Follow Share yea but i want to know how 5.2 is being represented a sdouble (i.e) 8 bytes and as float and the comparison 0 votes 0 votes Please log in or register to add a comment.