C bus error source
public c v1 · immutable#include <stdio.h>main(){ int i; printf("Please enter a number:\n"); scanf("%d", i); if (i >= 10) { printf("\nvariable i is greater than 10\n"); } else { printf("Variable i is less than 10\n"); }}#include <stdio.h>main(){ int i; printf("Please enter a number:\n"); scanf("%d", i); if (i >= 10) { printf("\nvariable i is greater than 10\n"); } else { printf("Variable i is less than 10\n"); }}