float f=2.2; if (f==2.2) printf("abc"); else printf("xyz");
//this code prints xyz,while if we give 2.5 instead of 2.2 the output is abc.
Aucun commentaire:
Enregistrer un commentaire