Beginner alert! ^^
I've got the following piece of extremely simple code and I'm not sure exactly why it keeps evaluation to '41'.
Any help is appreciatedCode:#include <stdio.h> #include <stdlib.h> #include <time.h> int main(void){ int random; random = rand(); printf("%d\n", random); system("pause"); return 0; }