C++ Functions Quiz Questions and Answers - 1
Question: 1
The lifetime of a ___ variable, is the life time of the function block.
(A) Function scope
(B) File scope
(C) Local scope
(D) Global scope
Ans: A
Function scope
Question: 2
A function can be invoked from another function using its ___
(A) Value
(B) Return
(C) Name
(D) Variables
Ans: C
Name
Question: 3
The ___ reveals the hidden scope of a variable.
(A) ++
(B) *
(C) %
(D) Scope operator
Ans: D
Scope operator
Question: 4
In ___ a local variable is defined within a block.
(A) Class scope
(B) Local scope
(C) Function scope
(D) File scope
Ans: B
Local scope
Question: 5
The calling function parameters are called as ___
(A) Actual parameters
(B) Dummy parameters
(C) Duplicate parameters
(D) Formal parameters
Ans: A
Actual parameters
Related Questions
Recent Articles
Signals and Systems Quiz Questions and Answers Pdf More
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
Electromagnetic Field Theory Question Bank 2024-2025 More
Power Semiconductor Device and Integrated Circuits Questions More
Strength of Materials Questions and Answers Pdf More
April-25-2024
| Meritnotes
Signals and Systems MCQ Questions and Answers Pdf More
April-24-2024
| Meritnotes
Electrical Power Sources Quiz Questions & Answers Pdf More
April-24-2024
| Meritnotes
Electromagnetic Field Theory Question Bank 2024-2025 More
April-23-2024
| Meritnotes
Power Semiconductor Device and Integrated Circuits Questions More
April-22-2024
| Meritnotes
Strength of Materials Questions and Answers Pdf More
April-21-2024
| Meritnotes
Trending Posts
SSC General Knowledge Questions with Answers More
100+ TNPSC Group 4 General Science Study Material in English Pdf More
100+ Free IAS, IPS, UPSC, SSC General Studies Books Material Pdf More
Trb Computer Science Model Question Paper Pdf More
Top 100+ Simple Analogy Questions and Answers More
Economics Questions and Answers for Competitive Exams More
August-28-2019
| Meritnotes
100+ TNPSC Group 4 General Science Study Material in English Pdf More
April-06-2022
| Meritnotes
100+ Free IAS, IPS, UPSC, SSC General Studies Books Material Pdf More
December-18-2020
| Meritnotes
Trb Computer Science Model Question Paper Pdf More
August-28-2019
| Meritnotes
Top 100+ Simple Analogy Questions and Answers More
May-30-2020
| Meritnotes
Economics Questions and Answers for Competitive Exams More
April-19-2020
| Meritnotes