QP School

Full Version: Code optimization tips in C
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Code optimization aims to improve the performance and efficiency of the program.

#include <stdio.h>

int main() {
    int x = 10;
    if (x == 10) {
        printf("x is 10\n");
    }
    return 0;
}