1000+ Problem Solving MCQ Questions and Answers - 2

Question: 6

______ is similar to the while loop structure except that the condition is checked at the end of the loop.

(A) if structure

(B) for structure

(C) do while structure

(D) none of these

Ans: C

do while structure

Question: 7

Standard programming practice stops with the usage of

(A) white space characters

(B) white space characters and comma

(C) comma

(D) none of these

Ans: B

white space characters and comma

Question: 8

One of the valid keywords in the C language is

(A) auto

(B) scanf

(C) CHAR

(D) printf

Ans: A

auto

Question: 9

A variable can be declared static using the keyword

(A) auto

(B) register

(C) static

(D) extern

Ans: C

static

Question: 10

The break statement is used to exit from a

(A) do loop

(B) switch statement

(C) for loop

(D) all of these

Ans: D

all of these

Related Questions
Read More Engineering Topics