Top 150+ C Objective Questions and Answers - 1

Question: 1

Which of the following statements is correct?

(A) Provides no features to manipulate composite objects

(B) C provides no file access features

(C) C provides no input-output features

(D) All of these

Ans: D

All of these

Question: 2

The most common use of the one dimensional array in C is

(A) Function

(B) Data

(C) Character

(D) String

Ans: D

String

Question: 3

Which header file should be included if it is required to develop a function that can accept variable number of arguments?

(A) Stdarg.h

(B) Stdio.h

(C) Stdlib.h

(D) Vardar.h

Ans: A

Stdarg.h

Question: 4

A single character input from the keyboard can be obtained by using the function

(A) Scan f( )

(B) Put char( )

(C) Get char( )

(D) Print f( )

Ans: C

Get char( )

Question: 5

The operator << and >> are

(A) Assignment operators

(B) Bitwise logical operators

(C) Logical operators

(D) Relational operators

Ans: B

Bitwise logical operators

Related Questions