Pointers in C Programming

It is said that Points are one of the primary reasons why programs become impossible to understand. But if you want to be a c programmer you cannot ignore it. Sometimes pointers are the only way to express a computation.

Just start from examples:

although “uninitialized” warning will be showed, you still can get result like this. And I keep wondering ¬†why the value of the uninitialized int will be 32767 = 2 15 – 1.

Example:

 

Leave a Reply

Your email address will not be published. Required fields are marked *