C program to print the address

C program to print the address

Address of a Variable:

Output:

The address of variable x is bfa816cc

Implementation:



To print the address of an array:

Output:



The address of Array a is bf96e8f0
The address of Array a is bf96e8f0
The address of Array a is bf96e8f0
The address of Array a is bf96e8f0
The address of Array a is bf96e8f0
The address of Array a is bf96e8f0




Implementation:







To print the address of a Function:

Output:

Welcome to CodeRegister!
The address of the function 'display' is 8048500
The address of the function 'display' is 8048500

Implementation:



To print the address of a Structure:

Output:

The address of structure is bfa2bb20

Implementation:



To print the address of a pointer variable:

Output:

The address of pointer variable is bfba253c

Implementation: