← Back to Question List
C Code Walkthrough #14
Chained Compound Assignments
📄 Code
Read carefully — what does this print?1#include <stdio.h>2int main() {3 int x = 10;4 x += 5;5 x *= 2;6 x -= 3;7 printf("%d\n", x);8 return 0;9}