About Me

My photo
Raipur, Chhattisgarh, India
Hi , I am Amit Thakur. I have worked as a QA Engineer for two years and as a Java Developer for one year in NIHILENT TECHNOLOGIES PVT. LTD., Pune.Currently I am working as DEAN (Research & Development) in Bhilai Institute of Technology, Raipur.

Tuesday, September 3, 2013

Pointer Program : Size of Integer Pointer

Program :
#include<stdio.h>

int main()
{
int a = 10, *ptr;
ptr = &a;

printf("\nSize of Integer Pointer : %d",sizeof(ptr));

return(0);
}
Output :
Size of Integer Pointer : 2

No comments: