Consider the following C program. # include int main() { char s3; float s2; int s1; scanf("%d %f %c", &s1, &s2, &s3); printf("%d %f %c", s1, s2, s3); return 0; } If the user enters the input values 5...


Consider the following C program.



# include < stdio.h="">


int main()


{


char s3;


float s2;


int s1;


scanf("%d %f %c", &s1, &s2, &s3);


printf("%d %f %c", s1, s2, s3);


return 0;


}



If the user enters the input values5 H 1.2 fors1, s2, ands3respectively. Which of the following values are read correctly and stored into the variables by thescanffunction correctly?


Choose an answer



A H







B 5 H 1.2







C 1.2







D 5






Jun 10, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here