|
|
back to boardCrash(access violation) , C Posted by Nikita 23 Dec 2012 04:08 #include<stdio.h> #include <math.h> int i=0; unsigned long long a[100]; int main() { int b; while(scanf("%llu",&a[i])!=EOF) { i++; } for(b=i-1;b>=0;b--) { printf("%.4lf\n",sqrt((double)a[b])); } return 0; } help please Re: Crash(access violation) , C because u used static array! |
|
|