PoiNtEr->: C program

                             Difference between a dream and an aim. A dream requires soundless sleep, whereas an aim requires sleepless efforts.

Search This Blog

Wednesday, June 29, 2011

C program


#include<stdio.h>

main()

{

char *p=”UNIVERSITY”;

clrscr();

printf(“%c”,++*(p++));

}

 

output:V

reason:suppose base address is 100 than

++*(100++)-> ++U –> V

No comments:

Post a Comment