Skip to content

Instantly share code, notes, and snippets.

@Shravan40
Created June 18, 2013 07:12
Show Gist options
  • Save Shravan40/5803259 to your computer and use it in GitHub Desktop.
Save Shravan40/5803259 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main()
//predict the o/p and give with the reason
{
int i=5;
int j=6;
int k=7;
int *ptr=&k;
printf("%d\n",*ptr);
printf("%d\n",*(ptr++));
printf("%d\n",*(++ptr));
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment