A directory of Objective Type Questions covering all the Computer Science subjects. Here you can access and discuss Multiple choice questions and answers for various compitative exams and interviews.

Discussion Forum

Que. How many times the word 'print' shall be printed by the following program segment?

for(i=1, i≤2, i++)
for(j=1, j≤2, j++)
for(k=1, k≤2, k++)
printf("print/n")
a. 1
b. 3
c. 6
d. 8
Answer:8
Senbagam :(October 14, 2019) Plz explain briefly
Click to Add Comment

Confused About the Answer? Ask for Details Here
Know Explanation? Add it Here