Here are your standard integral data types and how many bytes they take up on the OnlineGDB machine:
#include <stdio.h>
int main()
{
printf("sizeof(char): %lu\n", sizeof(char)); // 1
printf("sizeof(short int): %lu\n", sizeof(short int)); // 2
printf("sizeof(int): %lu\n", sizeof(int)); // 4
printf("sizeof(long int): %lu\n", sizeof(long int)); // 8
printf("sizeof(long long int): %lu\n", sizeof(long long int)); // 8
return 0;
}
As others have already mentioned, these sizes are specific for the OnlineGDB machine and you may have different results on Windows or on your microcontroller.