What will be output of the following “C” code?
		
					

Loading

Choose the correct option.

What will be output of the following “C” code?


#include
void main()
{
int a=10,x=20;a=a++ + 10;
x=x++ + ++a;
printf("%d,%d",a,x);
}

A. 22,43
B. 12,21
C. 10,20
D. 42,42