Top 300+ C Programming Multiple Choice Questions & Answers - 1
Question: 1
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: 2
The && and || operators compare two
(A) boolean values
(B) boolean value
(C) numeric values
(D) numeric value
Ans; B
boolean value
Question: 3
A pointer is
(A) address of a variable
(B) a variable for sorting address
(C) data type of an address variable
(D) indication of the variable to be accessed next
Ans: B
a variable for sorting address
Question: 4
The function abort() is declared in the header file
(A) <math.h>
(B) <iostream.h>
(C) <stdio.h>
(D) <stdlib.h>
Ans: B
<iostream.h>
Question: 5
In C++, when accessing a structure member, the identifier to the left of the dot operator is the name of
(A) structure tag
(B) structure member
(C) structure variable
(D) keyword struck
Ans: C
structure variable
- 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
7000+ Acronyms and Abbreviations Quiz Questions Pdf More
7000+ Question Tags Exercises with Answers Pdf More
7000+ TNPSC Group 4 Study Material Pdf free Download More
7000+ TNPSC Group 4 General English Question Paper with Answers More
7000+ Prepositions Exercises for Class 10 with Answers Pdf More
1000+ Automation Systems and Graphics Questions and Answers More
List of Chief Naval Staff in India 2020-2021 More
SSC CGL, CHSL, MTS, CPO, JE, SI, GD Previous Year Polity Questions Pdf More
7000+ RRB PO Computer Questions Pdf More
Top 100+ Decimal Fraction Questions and Answers Pdf More