C Programming Objective Questions and Answers Pdf - 1

Question: 1

_____ is a picture in which the flows of computational paths are depicted.

(A) Algorithm

(B) Program

(C) Code

(D) Flow chart

Ans: D

Flow chart

Question: 2

Among unary operation which operator represents increment?

(A) --

(B) ++

(C) -

(D) !

Ans: B

++

Question: 3

The function scanf is used to ___

(A) To take logical decisions

(B) Input a set of values

(C) Print a set of values

(D) Do mathematical manipulations

Ans: B

Input a set of values

Question: 4

If the function returns no value then it is called ____

(A) Data type function

(B) Calling function

(C) Main function

(D) Void function

Ans:D

Void function

Question: 5

A function _____

(A) May or may not need input data

(B) May or may not return a value

(C) Both a and b

(D) None of these

Ans: C

Both a and b

Related Questions