Rules for constructing Integer constants in C

Reading time ~1 minute

  1. An integer constant must have at least one digit.

  2. It must not be in decimal form.

  3. It can be either negative or positive.

  4. If there is no sign in prefix, then it assumed as positive.

  5. No commas, special symbols, alphabets, or blanks are allowed in an integer constants.

  6. The allowable range for integer constants is –2147483648 to +2147483648.

NOTE: frankly speaking integer constants depends upon compiler. For visual studio, gcc, it is as mentioned above but for compilers like Turbo C its range varies from - 32768 to +32768.

Automotive Locking Systems

utomotive locks vary considerably in the types of locking mechanisms and lock arrangements. There are many other methods of gaining access to an automobile which are quite often quicker and easier than attempting to pick the lock Continue reading

The Arts of Lockpicking

Published on June 13, 2015

Implementing the Caesar Cipher

Published on November 01, 2014