0 votes 0 votes closed with the note: Undefined Behaviour in C is not required for GATE #include <stdio.h> void main() { int a = -5; int k = (a++, ++a); printf("%d\n", k); } how to solve this int k = (a++, ++a); expression? Aakash1125 asked Apr 23, 2017 • closed Apr 23, 2017 by Arjun Aakash1125 919 views comment Share Follow See all 2 Comments See all 2 2 Comments reply Arjun commented Apr 23, 2017 reply Follow Share See here: https://gateoverflow.in/62411/undefined-behaviour-in-c 0 votes 0 votes Lakshman Bhaiya commented Mar 2, 2018 reply Follow Share @Arjun sir I run this code in compiler gives output -3 0 votes 0 votes Please log in or register to add a comment.