Relative Content

Tag Archive for csolution

What would the value of x in the following program

#include<stdio.h> int main() { int a = 10,x; x = (a–) + (++a); printf(“%d”, x); } I have tried to run the above program it gives me 22 in visual studio and 20 in oline complier. How does the statement is working c solution