Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

What is the value of count 1 and count 2 after execution of the following code? a) count 1 = 2 and count 2 =

image text in transcribed
What is the value of count 1 and count 2 after execution of the following code? a) count 1 = 2 and count 2 = 12 b) count 1 = 3 and count 2 = 12 c) count 1 = 2 and count 2 = 9 d) count 1 = 3 and count 2 = 9 int count1 = 0, count2 =0; for (i = 1; i (a+ 10))! = ? a) 1 b) 6 c) 15 d0 0 Which one of the Riven option is correct? a) j = 6. k = 10 b) j = 8, k = 6 c) j = 8, k = 10 d) i = 4, j = 6, k = 10 e) j = 6, i = 5, k = 8 main() {int i, j, k; i = 3; j = 2 (i++); k = 2(++i); How many times the below loop will run a) 1 b) Infinite c) 0. d) Compilation Error main() {int i; i = 0; do[--i; cout = 0);} What is the correct output of the following program? a) A = 34; B = 8 b) A = 4; B = 11 c) A = 2; B = 13 d0 A = 2; B = 11 #include int main() {int A = 4, B = 7; if (A

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_2

Step: 3

blur-text-image_3

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

Big Data, Mining, And Analytics Components Of Strategic Decision Making

Authors: Stephan Kudyba

1st Edition

1466568704, 9781466568709

More Books

Students also viewed these Databases questions