Hi everybody
I just can't figure out why my program stops working when i reach the second scanf
I don't think it's a memory problem neither Windows treats it like a virus so I don't know how to figure out.
this is the code:
Code:
#include <stdio.h>
#include <stdlib.h>
int main(void){
int a, b; /*addendi*/
int c; /*somma*/
printf("Somma di due numeri");
printf("\nImmetti il primo numero: ");
scanf("%d, &a");
printf("\nImmetti il secondo numero: ");
scanf("%d, &b");
printf("\n");
printf("La somma di %d e %d e':%d\n", a, b, c);
return(0);
}