num++;
could be translated into
num= num+1;
there is no problem with num+1 part. There is problem with assigning result value back to the variable which could not be changed
Type: Posts; User: vart
num++;
could be translated into
num= num+1;
there is no problem with num+1 part. There is problem with assigning result value back to the variable which could not be changed
you never print pnum+4
use following code and see what it actually point to
#include<stdio.h>
int main()
{