C Programming Quiz Questions and Answers - 1

Question: 1

The Library functions used for _____ are kept in the header file called stdio.h.

(A) I/O purpose

(B) Mathematical functions

(C) Keywords

(D) Functions

Ans: A

I/O purpose

Question: 2

The ___ statement is used in the loops to skip a part of the loop and continue the next cycle of the loop.

(A) Continue

(B) If

(C) Switch

(D) Break

Ans: A

Continue

Question: 3

To deal each element of the array separately _____ are used.

(A) Arrays

(B) Structures

(C) Loops

(D) Control statements

Ans: C

Loops

Question: 4

Which of the following format infers that data is displayed is a string?

(A) d

(B) f

(C) g

(D) s

Ans: D

s

Question: 5

A floating point constant can be expressed in

(A) Exponential form

(B) Fractional form

(C) Both forms

(D) None of these

Ans: C

Both forms

Related Questions