long long max limits.h code example
Example: C largest unsigned int
The sizeof function will help you here.
sizeof(data type) returns a size_t //Number of bytes whatever the input for sizeof takes
Example:
//This statement will return 2 or 4 (depending on your system)
return sizeof(int)