Tag Archives for Basics
Check Equality of integer and float in c
This program shows integer value and float value (with .0) are equal in c. #include<stdio.h> int main() { int x=3; float y=3.0; if(x==y) printf("\nx and y are equal"); else printf("\nx and y are not equal"); }

