int type in C language

in programming •  9 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

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!