EmbLogic's Blog

Author Archives: himanshu.kanekar

output doubt

read the following code: main() { int *p,a[5]={1,2,3,4,5}; for(p=a;p<&a[5];p++) { *p=p-a; printf(“%d “,*p); } return 0; } theoretical output= 0 4 8 12 16 compiler output=0 1 2 3 4 question: Why p++ (increment in address of p) increments the … Continue reading →

Posted in Data Structures with C, Uncategorized | 2 Comments

Internet not working..

My internet is not working.I tried re installing with relevant server packages but it still does not work. internet connection: Airtel broadband error: device not found

Posted in Uncategorized | Tagged , , | Leave a comment