C largest unsigned int

C
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)
Source

Also in C: