C Programming language

adplus-dvertising
C Program example: Pointer in C
Previous Home Next
Pointer in C
/** How to use pointer in C **/

#include<stdio.h>
#include<conio.h>
void main()
{
	int j=45;
	int *i;
	i=&j;
	clrscr();
	printf("\n Address of i= %u",&j);
	printf("\n Address of i=%u",i);
	printf("\n Address of i=%u",&j);
	printf("\n Address of i=%u",j);
	getch();
}
Output :

65524

65524

65524

45

Previous Home Next