Answered step by step
Verified Expert Solution
Question
1 Approved Answer
(e)What is the screen output of the following fragment of C code! int x=20 , y-3 , z=5 , w-17 ; printf(x has a value
(e)What is the screen output of the following fragment of C code! int x=20 , y-3 , z=5 , w-17 ; printf("x has a value of %d ",w) ; (f)What is the screen output of the following fragment of C code? int i=1; do f i+= 2; printf (''i is while (1C8); %d ",i+2); (g)What is the screen output of the following fragment of C code? int fl (int a, int b, int c)( return (a*b-2*c); int main () f printf ("The result is %d " , f1 (4 , f1 (3 , 2 ,-6) , 8) ) ; return 0; (h)What is the screen output of the following fragment of C code? float number- 5.73810; number= (int) (1000*number) /1000. 0 ; printf("number is %7.2f " , number)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started