Top 300+ C Programming Multiple Choice Questions & Answers - 2
Question: 6
How many values can be returned from a function?
(A) 1
(B) 2
(C) 3
(D) 4
Ans: A
1
Question: 7
A pointer is
(A) data type of an address variable
(B) a variable for storing address
(C) indication of the variable to be accessed next
(D) address of a variable
Ans: B
a variable for storing address
Question: 8
A relational operator
(A) assigns operand to another
(B) yields a Boolean result
(C) logically combines two operands
(D) compares two operands
Ans: D
compares two operands
Question: 9
In C++, a function contained within a class is called
(A) a method
(B) a class function
(C) member function
(D) none of these
Ans: C
member function
Question: 10
An array element is accessed using
(A) member name
(B) an index number
(C) dot operator
(D) a first in first out approach
Ans: B
an index number
- Top 300+ C Programming Multiple Choice Questions & Answers
- C Programming Question Bank
- C Programming Objective Questions and Answers Pdf
- C Programming Quiz Questions and Answers
- C MCQs Questions with Answers Pdf 2019-2020
- C Programming Online Test Questions and Answers
- Online C Programming Test with Certificate
- Object Oriented Programming in C++ MCQ with Answers Pdf
DC Generator Questions and Answers Pdf More
Electromagnetic Induction Quiz Questions and Answers More
Basic Electronics Quiz Questions with Answers Pdf More
Wireless Communication MCQ Questions with Answers More
Digital Communication Quiz Questions and Answers Pdf More
1000+ Stoichiometry Interview Questions and Answers Pdf More
1000+ SBI Computer Papers with Answers Pdf More
1000+ Puzzles asked in Interview with Answers More
1000+ Spotting Errors Questions for CAT Exam Pdf More
Direct and Indirect Speech Questions Exercises with Answers More