Home C C++ Java Python Perl PHP SQL JavaScript Linux Selenium QT Online Test

Home » C » Interview Questions on Loops in C

Interview Questions on Loops in C : (20)

Page 1 of 2


Question: 1

(A) 2
(B) 3
(C) 4
(D) 1

Compiler
Level: Beginner Category of MCQ: loops


Question: 2

(A) Compilation Error
(B) Runtime Error
(C) Hello is printed one time
(D) Hello is printed infinite times

Compiler
Level: Expert Category of MCQ: loops


Question: 3

(A) Compilation Error
(B) Runtime Error
(C) Nothing is printed
(D) Hello is printed infinite times

Compiler
Level: Expert Category of MCQ: loops


Question: 4

(A) Hello is printed 5 times
(B) Compilation Error
(C) Runtime Error
(D) Hello is printed 4 times

Compiler
Level: Expert Category of MCQ: loops


Question: 5

(A) Hello is printed 5 times
(B) Compilation Error
(C) Hello is printed 2 times
(D) Hello is printed 3 times

Compiler
Level: Expert Category of MCQ: loops


Question: 6

(A) 0--01--12--23--34--
(B) 00--10--20--30--40--
(C) Compilation Error
(D) 00--01--02--03--04--

Compiler
Level: Expert Category of MCQ: loops


Question: 7

(A) 5
(B) 10
(C) 25
(D) 50

Compiler
Level: Practitioner Category of MCQ: loops


Question: 8

(A) cppbuzz is printed 5 times
(B) Compilation Error
(C) cppbuzz is printed 1 times
(D) Nothing is printed

Compiler
Level: Practitioner Category of MCQ: loops


Question: 9

(A) 55
(B) 54
(C) 1
(D) 0

Compiler
Level: Practitioner Category of MCQ: loops


Question: 10

(A) 1 time
(B) Compilation Error
(C) Infinite times
(D) Runtime Error

Compiler
Level: Practitioner Category of MCQ: loops


Question: 11

(A) 1 time
(B) 0 time
(C) Compilation/Runtime Error
(D) Blank Screen in Infinite Loop

Compiler
Level: Practitioner Category of MCQ: loops


Question: 12

(A) CppBuzz.com is printed Infinite times
(B) CppBuzz.com is printed 1 time only
(C) Nothing is printed
(D) Program gives error

Compiler
Level: Practitioner Category of MCQ: loops


Question: 13

(A) 0 times
(B) Infinite times (Untill Stack is overflow)
(C) 1 time
(D) Nothing is printed

Compiler
Level: Expert Category of MCQ: loops


Question: 14

(A) Nothing is printed on screen
(B) 0 time
(C) 1 time
(D) Infinite times (Untill Stack overflow)

Compiler
Level: Practitioner Category of MCQ: loops


Question: 15

(A) 0 time
(B) 1 time
(C) Compilation Error
(D) Infinite times

Compiler
Level: Practitioner Category of MCQ: loops


Question: 16

(A) 1 time
(B) 0 time
(C) Infinite Times(Until Stack overflows)
(D) Error: Lvalue Required

Compiler
Level: Beginner Category of MCQ: loops


Question: 17

(A) 1 time
(B) It depends on the size of int
(C) Infinite Times(Until Stack overflows)
(D) Error

Compiler
Level: Beginner Category of MCQ: loops


Question: 18

(A) 1 time
(B) Compilation Error
(C) 0 time
(D) Infinite Times(Until Stack Overflows)

Compiler
Level: Beginner Category of MCQ: loops


Question: 19

(A) 1 time
(B) 0 time
(C) Infinite times(Until Stack is overflow)
(D) 2 times

Compiler
Level: Beginner Category of MCQ: loops


Question: 20

(A) 4 times
(B) 5 times
(C) 0 time
(D) Infinite times

Compiler
Level: Practitioner Category of MCQ: loops