EmbLogic's Blog

Author Archives: pk8981

e-14

ptr=”Hello” for(i=0;i<strlen(ptr);i++) { printf(“default address:%p and it is pointing at %d whose address is : %p and value at this address is %c “,&ptr,i,ptr,*ptr); ptr++ } when executing the above loop printf command only prints “Hel” instead of “Hello”. why … Continue reading →

Posted in Uncategorized | 1 Comment