Question: I cannot get this to run in microsoft visual for c programming. i have listed the errors below Error (active) E0028 expression must have a

I cannot get this to run in microsoft visual for c programming. i have listed the errors below

Error (active) E0028 expression must have a constant value

Warning C4244 '+=': conversion from 'double' to 'float', possible loss of data

Warning C4244 '=': conversion from 'double' to 'float', possible loss of data

Error C2057 expected constant expression

Error C2466 cannot allocate an array of constant size

Error C2133 'arr': unknown size

#include #include void outLier(int *arr,int l, float *plus3StdDeviation, float *minus3StdDeviation){ float mean,sum=0,sum2=0; float stdDeviation; for(int i=0;i

outLier(arr,n,&plus3StdDeviation,&minus3StdDeviation); //passing by reference printf("+3 Standard deviation : %f ",(plus3StdDeviation)); printf("-3 Standard deviation : %f ",(minus3StdDeviation));

return 0; }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!