Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please answer these questions in detail . 1 -What does the code print to the screen? x - 1, y-2,z -3 a) x is 1

Please answer these questions in detail . image text in transcribed
image text in transcribed
1 -What does the code print to the screen? x - 1, y-2,z -3 a) x is 1 b) x is 2 c) x is 3 d) None of the above printf("x xyi is %d", z); 2 What does the code print to the screen? ) x is 1 ) x is 2 c)xis 3 d) None of the above int x -1, y-2,z-3; printf("x is %d", (zty-1)/x+x); 3 What does the code print to the screen? a) x+is 1 b) x+ is 2 c)x++ is 3 d) None of the above int 1; printf("x++ is %d", x); 4What does the code print to the screen? int 100 a) 100 b) printf (100) c) printf (x) d) None of the above printf ("printf (x)) 5What does the code print to the screen? a) It is normal to mess up! b) It is ormal o mess up! c) It is printf ("It is normal to mess up!") ormal to mess up! d) None of the above 6What does the code print to the screen? a) 7/3 b)3 C) 3.5 d) None of the above printf("%d", 7/2); 7-What does the code print to the screen? a) 7/3 b) 2.50 c) 2.00 d) None of the above float -(float) 7/3 printf("8.2f", x); 8 What does the code print to the screen? a) TRUE b) FALSE c) TRUEFALSE None of the above int3 if x >31x!-2 printf("TURE") printf("FALSE") 9 What does the code print to the screen? a) TRUETRUE b) TRUE c) TRUETRUETRUE d) TRUETRUETRUETRUE e) None of the above int3 switch (x+1) case 3: printf ("TRUE") case 4: printf ("TRUE") default: printf ("TRUE") printf ("TRUE")

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Machine Learning And Knowledge Discovery In Databases European Conference Ecml Pkdd 2014 Nancy France September 15 19 2014 Proceedings Part I Lnai 8724

Authors: Toon Calders ,Floriana Esposito ,Eyke Hullermeier ,Rosa Meo

2014th Edition

3662448475, 978-3662448472

More Books

Students also viewed these Databases questions