I wrote c program to find smallest number from given numbers

smallest number = 0Code:#include<stdio.h> int main (void) { int numbers[8] = { 9, 4, 2, 6 , 8, 3, 1} ; int i = 0; int smallest ; smallest = numbers[0]; for (i = 0; i < 8; i++ ) { if (smallest > numbers[i]) { smallest = numbers[i]; } } printf ("smallest number = %d", smallest); return 0; }

Why program doesn't show smallest number ?