Hi
I wrote this program ...
... and e always an get an Windows XP error message:
exp.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
Can someone help me?
Thanks
I wrote this program ...
Code:
#include<stdio.h> #define size 3 main() { int a[size]; int i; printf("Input values for array a\n"); for(i=0;i<size;i++) { printf("a[ %d ] = ",i); scanf("%d",a[i]); } }
exp.exe has encountered a problem and needs to close. We are sorry for the inconvenience.
Can someone help me?
Thanks
Comment