Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<stdio.h>
- int main()
- {
- int p = 5;
- int q = 10;
- printf("++p = %d \t q++ = %d",++p,q++);//post increment isn't reflect
- printf("++p = %d \t q++ = %d",p,q);//here post increment is reflect
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement