int type in C language

in #programminglast year

Let's get acquainted with the int type, which can store values up to 4 bytes in size!

#include <stdio.h>
#include <stdlib.h>

int main ()
{
    int int_var = 12345;

    printf ("Our variable of type int is equal %d\n", int_var);
    printf ("Size of int type variables is %lld bytes\n\n", sizeof (int));

    system ("pause");

    return 0;
}

Posted using SteemPro

Coin Marketplace

STEEM 0.13
TRX 0.34
JST 0.036
BTC 109587.97
ETH 4474.98
USDT 1.00
SBD 0.84