Twitter Feed Facebook Google Plus Youtube

Adsense responsive

Recent Post below header

Friday, 22 February 2013

C PROGRAM: TO PRINT ADDRESS OF A VARIABLE

CODING:
#include<stdio.h>
#include<conio.h>
void main()
{
 int num,*p;
 clrscr();
 p=&num;
 printf("Enter any value: ");
 scanf("%d",p);
 printf("\n\n%d value is stored at address %u",*p,p);
 getch();
}


CODING

OUTPUT


For any query or suggestion please comment below...

No comments:

Post a comment