What are the requirements for the legal constant of c++?
Legal constant, the writing format of (1) constant is correct, and (2) the value of constant is within the allowable range, which cannot be exceeded. \ r \ nFor example: \ r \ nInteger: 123,-123,007 (octal), 0x00ff (hexadecimal) \ r \ nLong integer: 456,456L \ r \ nFloating point: 60.