DFS :: POINTER

#include<stdio.h>
#include<conio.h>

void main()
{
int a,*b,**c;
clrscr();

a=5;
b=&a;
c=&b;

printf(“a :%u\n”,a);
printf(“&a :%u\n”,&a);
printf(“b :%u\n”,b);
printf(“&b :%u\n”,&b);
printf(“*b :%u\n”,*b);
printf(“c :%u\n”,c);
printf(“&c :%u\n”,&c);
printf(“*c :%u\n”,*c);
printf(“**c :%u\n”,**c);

getch();
}

Share

About the Author

Akash Padhiyar

Visit Website

There are no comments yet, add one below.

Leave a Comment

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

*

Time limit is exhausted. Please reload CAPTCHA.