comma-operator tag

1 questions


1 answers
102 views
0
In what order does i = (i, ++i, 1) + 1; run?

#include <stdio.h>int main(void) { int i = 5; i = (i, ++i, 1) + 1; printf(%d\n, i); return 0;}I'm Newbie who is studying about the Undefined Behavior.I was experimenting with this and that with ...


© 2024 OneMinuteCode. All rights reserved.