Single pointer in C

The first pointer is used to store the address of second pointer. That is why they are also known as double pointers Triple Pointer: Triple Pointer to the memory location where the value of a single-pointer is being stored. That single-pointer is expected to be pointing to an int

Source Code

int main()
    int a=10,*p;
    p=&a; //Address of a
    printf("\n Value of  A           : %d",a);
    printf("\n Address of  A         : %d",&a);
    printf("\n Value of  P           : %d",p);
    printf("\n Address of  P         : %d",&p);
    printf("\n P Dereferencing       : %d",*p);
    return 0;
To download raw file Click Here

List of Programs

Sample Programs

Switch Case in C

Conditional Operators in C

Goto Statement in C

While Loop Example Programs

Looping Statements in C

For Loop Example Programs

Array Examples in C

One Dimensional Array

Two Dimensional Array in C

String Example Programs in C

Functions Example Programs in C

Learn All in Tamil © Designed & Developed By Tutor Joes