Question: [ Prob . 6 . Fundamental of Programming ] ( 2 5 p ) What is the output of the following code? #include stdio.h >

[Prob.6. Fundamental of Programming]
(25p) What is the output of the following code?
#include stdio.h>
void Func(int k, int m, int e, int *s, double *a){
**s=k+m+e;
**a=**s3.0;
}
int main(void){
int k=80;
int m=80;
int e=95;
int s=0;
double a=0;
Func(k, m, e, &s, & a);
printf("s=%d,a=% lf",s,a;
return 0 ;
}
(30p) Make a C program that prints all unique elements in a given array A. Use the following
skeleton code. If you want, you can add another function other than the main function.
#include A={4,2,1,5,3,4,1,1,8,6}ACA(10p)A=72.0?2(10p)A=72?2.0
 [Prob.6. Fundamental of Programming] (25p) What is the output of the

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!