What is implicit conversion in c ? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is implicit conversion in c ?

#include <stdio.h> int main() { int a=2; float f=2.0; if (a==f){ printf ("equal"); } return 0; } The above program prints equal when execute... But a is a integer type and f is a float then how it compares both..... What happens internally.... Please explain

16th Apr 2020, 4:28 PM
Muralikrishnan
Muralikrishnan - avatar
0 Réponse