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 Character Pointer

Program :
#include<stdio.h>

int main()
{
char a = 'a', *cptr;
cptr = &a;

printf("\nSize of Character Pointer : %d",sizeof(cptr));

return(0);
}
Output:
Size of Character Pointer : 1

No comments: