long long max value code example

Example 1: 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)

Example 2: max long value java

/**
 * A simple application that looks up the value of Long.MAX_VALUE and outputs it to the user.
 **/
public class Test {
	public static void main(String[] args) {
		System.out.println("The maximum Long value is: "+Long.MAX_VALUE);
	}
}

Tags:

Java Example