Top 1000+ C Language MCQ Questions and Answers - 2
Question: 6
The C language allow arguments to be passed
(A) Only call by value
(B) Only call by reference
(C) Both call by value as well as call by reference
(D) None of the above
Ans: C
Both call by value as well as call by reference
Question: 7
Scope of the variable refers to
(A) Duration for which the variable retains a given value during program execution.
(B) Part of a program in which the variable can be recognized.
(C) Value of the variable.
(D) Data type of the variable.
Ans: B
Part of a program in which the variable can be recognized.
Question: 8
A bit field is a
(A) One or more adjacent bits within a word.
(B) Member of a structure can be passed as an argument.
(C) Pointer variable in a structure.
(D) None of above
Ans: A
One or more adjacent bits within a word.
Question: 9
Which of the following header file must be included in your property if you want to use graphics property?
(A) screen.h
(B) graphics.h
(C) graph.h
(D) stdio.h
Ans: B
graphics.h
Question: 10
Every string must be terminated by
(A) Linefeed character
(B) Null character
(C) Newline character
(D) Carriage return character
Ans: B
Null character
- Top 150+ OOPS Quiz Questions and Answers
- C Language Quiz Questions and Answers
- C Language Multiple Choice Questions and Answers
- C Language Objective Questions and Answers
- Top 150+ C Objective Questions and Answers
- C Multiple Choice Questions and Answers
- Top 150+ C Language Online Test
- Top 1000+ C Language MCQ Questions and Answers
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
Steam and Power Generation Quiz Questions & Answers Pdf More
1000+ Microprocessor GATE Questions with Answers Pdf More
100+ Statement and Conclusion Questions and Answers Pdf More
Digital Logic Families Gk Quiz Questions and Answers More
List of International Foreign Newspapers in English More
TNPSC Group 1, 2, 2a, 4 Preposition Objective Questions and Answers More