Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

PART A (20 X 1 = 20 Marks) Fill up the blank How many times the value of 'i' get printed in the following loop?

image text in transcribed
PART A (20 X 1 = 20 Marks) Fill up the blank How many times the value of 'i' get printed in the following loop? #include void main() int i; Answer: times while (i Write the for loop for the following do-while loop int k 1: Answer: do printf("%d", k); while (k void main() Answer: int 2, X: xy-10: 2-x+y: printf("%d". 2): 3 What is the output for the following program? #include Answer: void maino 4 int x = 3, y - 2,2 float p=4,4-2, rap/ z = x/y: printf("z=% nr=%d ", 2)

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

Students also viewed these Databases questions