int type in C language

in #programming4 months ago

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.20
TRX 0.15
JST 0.029
BTC 63483.25
ETH 2601.63
USDT 1.00
SBD 2.81