in Programming in C
1,255 views
0 votes
0 votes
#include<stdio.h>
void main(){
int p=-8;
int i= (p++,++p);
printf("%d\n",i);
}
in Programming in C
by
1.3k views

4 Comments

@,@...... compiler dependent,,,

0
0

@pawan kumarln in this comma operator is used as an operator, not as a separator, and it will first evaluate the left side of operator then the right side and assign the right side to the LHS. It's like using $;$

Ref : herehere

1
1
got it bro...thanks
0
0

Please log in or register to answer this question.

Related questions