EmbLogic's Blog

Author Archives: swarup

operators

how could the compiler compile the following statement z >= y >= x ? 1 : 0

Posted in Data Structures with C | 3 Comments

Question No.15 of Assignment-1

int main() { float a, a = 2.0e20; printf(“%f”,a); } Here looking at the program we expect that the output should be like 200..( 0 for 20 times). but to our astonishment we are getting the output as 200000004008175468544. Can … Continue reading →

Posted in Uncategorized | 2 Comments