Get the FREE certificate on C, C++, Java, Python, Perl, PHP, SQL, Linux, Javascript!  

  
Home C C++ Java Python Perl PHP Spring SQL Javascript Linux

Interview Questions on Loops in C : (29)Questions

You are here : Home » Interview Questions on Loops in C


Question: 1

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

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 2

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

Expert loops[Posted by: Admin| Location: Chicago, USA]



Question: 3

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

Expert loops[Posted by: Admin| Location: Chicago, USA]



Question: 4

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

Expert loops[Posted by: Admin| Location: Chicago, USA]



Question: 5

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

Expert loops[Posted by: Admin| Location: Chicago, USA]



Question: 6

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

Expert loops[Posted by: Admin| Location: Chicago, USA]



Question: 7

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 8

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 9

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 10

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 11

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 13

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

Expert loops[Posted by: Admin| Location: Chicago, USA]



Question: 14

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 15

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 16

(A) 1 time
(B) 0 time
(C) Infinite times
(D) Error: Lvalue Required

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 17

(A) 1 time
(B) Infinite Times(Untill Stack is overflow)
(C) 2 times
(D) Error

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 18

(A) 1 time
(B) Compilation Error
(C) 0 time
(D) Infinite Times(Untill Stack is Overflow)

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 19

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

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 20

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

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 21

(A) 5 times
(B) 4 times
(C) 2 times
(D) 1 time

Expert loops[Posted by: Admin| Location: Chicago, USA]



Question: 22

(A) 10
(B) Compilation Error
(C) 0
(D) Undefined

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 23

(A) 48D
(B) 32H
(C) 0011 1000
(D) 42H

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 24

(A) Yes
(B) No
(C) Depends on Compiler

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 25

(A) 0 - too young
(B) Compilation Error
(C) Nothing is printed
(D) How old are you? 16 - too young

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 26

(A) Easy
(B) Hard
(C) C programming is Easy
(D) None of the above

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 27

(A) Easy
(B) Hard
(C) EasyHard
(D) Error in program

Practitioner loops[Posted by: Admin| Location: Chicago, USA]



Question: 28

(A) C
(B) 68
(C) D
(D) 67

Beginner loops[Posted by: Admin| Location: Chicago, USA]



Question: 29

(A) 17
(B) 23
(C) 24
(D) 18

Beginner loops[Posted by: vikas| Location: india]