ok i'm trying to learn c before moving on to c++ and this is what i get when compiling this in dev-c++
the output (say i enter 5 and 7) isCode:#include<stdio.h> int main() { int a,b,c; a; b; c = a + b; printf("Enter the value of the first number: "); scanf("%d", &a); printf("Enter the value of the second number: "); scanf("%d", &b); printf("%d + %d = %d\n", a, b, c); system("pause"); return 0; }
5 + 7 = 8413188
anyone know what the deal is



LinkBack URL
About LinkBacks


