Tuesday, 13 April 2021

Storage class in C and C++ - 2

 #include<stdio.h>

#include<conio.h>

//#include<iostream.h>

int main()

{

//clrscr();

register int a=8;

//int *p=&a;

//cout<<&a<<endl;

//cout<<p<<endl;

//cout<<*p;

//printf("%u\n%d",p,*p);

printf("%u",&a);

getch();

}

No comments:

Post a Comment