LogiQuest
Back to Expressions
4

What will be the output of the program?

#include <stdio.h>

int main(void) {
    int x = 10;
    x += 5;
    x -= 3;
    x *= 2;
    printf("%d\n", x);
    return 0;
}
Easy

Discussion (0)

  • No discussion yet. Ask a doubt or share a shortcut.

Log in to join the discussion.