C language

POINTERS Illustration

The pointer, as the name suggests, is something which is pointing to or directing to something. The pointer is used to store the address of another variable and the data type of the pointer is same as data type of variable it is pointing to. As the variable which points to other variable is called […]

C language

C pointer INTRODUCTION

Consider the following c statement: Int x=2; The above statement requests compiler to execute following steps: Reserve the required space (depending upon the data type and computer configuration) for the variable (randomly selected out of free memory pool) Assign i as name for that reserved space Store the integer value 2 in the reserved space […]