Category: Pointers

Pointers and Arrays in C programming

In this tutorial, we will learn how the pointers and arrays in C are related, difference between pointers and arrays. Pointers and arrays are strongly related. Whenever an array name appears in an expression, it is automatically converted to a pointer to its first element. Example: In above example,  a will refer to the address  2886728 . As &a[0] references

Pointers in C programming

In this tutorial, we will learn the about the pointers in c, how do they help in programming and how does it function. Pointers First of all before starting pointer one should have knowledge about how memory is organized in C.  Here, the above image shows the layout of computer memory simply. When a variable