What is implicit conversion in c ? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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 ответов