C | Operators | Question 13

Last Updated :
Discuss
Comments
C
#include<stdio.h> 
int main(void) 
{ 
  int a = 1; 
  int b = 0; 
  b = a++ + a++; 
  printf("%d %d",a,b); 
  return 0; 
}

3 6

Compiler Dependent

3 4

3 3

Tags:
Share your thoughts in the comments