C Programming Tutorial - 76: Implicit Type Conversion

preview_player
Показать описание
In this tutorial we'll tale about integer promotion or implicit type conversion and see the concept in application in a very simple C program.
Рекомендации по теме
Комментарии
Автор

The code is here::

#include<stdio.h>

main()
{
    int a, b;
    a = 10;
    char x;
    x = 'A';
    b = a + x;

   printf(" The value of b is: %d", b);


}

gudukasa