← Back to Question List
C Code Walkthrough #31
The Comma Operator's Value
📄 Code
Read carefully — what does this print?1#include <stdio.h>2int main() {3 int x = (1, 2, 3);4 int y = 5;5 y = (y++, y + 1);6 printf("%d %d\n", x, y);7 return 0;8}