Undefined Behaviour in C
What will be the output of the following code? #include<stdio.h> int main() { int x=10, y; y = (x++) + (++x); printf("%d %d %d %d ", y, x++, x, ++x); } 22,10,11,13 22,11,11,11 12,10,11,13 22 13 13 13
What will be the output of the following code?#include<stdio.h int main() { int x=10, y; y = (x++) + (++x); printf("%d %d %d %d ", y, x++, x, ++x); }22,10,11,1322,11,11,1...