Here is a listing of C++ interview questions on “Arrays” along with answers, explanations and/or solutions: 1. Which of the following correctly declares an array? a) int array[10]; b) int array; c) array{10}; d) array array[10]; ...
a) Both func(&array) and func(*array); b) Both func(#array) and func(&array); c) Both func(array) and func(&array); d) Both func(array[size]) and func(*array); View Answer 4. What are the different ways to initialize an array with all elements as zero? a) int array[5] ...
Last updated on Jul 24, 2024 Latest Array MCQ Objective Questions Array Question 1: Consider the following array declaration in the 'C' language: int array 1[] = {2, 3}; int array2[3]={9}; What will be the output of the following print statement?
Top Switch Statement MCQ Objective Questions Switch Statement Question 6 Download Solution PDF Consider the following C program: #include int main( ) { int i, j, k = 0; j = 2 * 3 / 4 + 2.0 / 5 + 8 / 5; k -= --j;
- Published on 19 Oct 15 a. True b. False Answer Explanation 3) C programming : Suppose that x is a one dimensional array, then choose the correct answer regarding array. - Published on 19 Oct 15 a. *(x + n) is same as &x[n] b. *&x[n] is same as x + n c. *(x ...
Software Engineering | Product Metrics MCQ: This section contains the multiple-choice questions on Product Metrics in Software Engineering. Submitted byIncludeHelp, on August 31, 2021 Product Metrics Product metricsare software product measures that can be used at any step of the development process,...
Fundamentals of Software Engineering MCQ: This section contains the multiple-choice questions on Fundamentals of Software Engineering. Submitted byIncludeHelp, on June 24, 2021 Fundamentals of Software Engineering MCQs Q1. Software engineering encompasses a ___, a collection of ___ and an array of ...
- Published on 19 Oct 15 a.An array can hold primitive types data b.An array has its size that is known as array length c.An array knows only its type that it contains. Array type is checked at the compile-time d.An array holds only one type of data ...
Work, Energy and Power MCQ: Learn the most important multiple choice questions from the topic - Work, Energy and Power. These questions help in your NEET 2023 preparation.
\(\begin{array}{l}2AgCl \xrightarrow[]{Light} 2Ag + Cl_{2}\end{array} \) Due to the formation of silver metal, the white colour of silver chloride turns grey. Practise Questions on Chemical Reaction and Equation MCQ Q1:When Ag is exposed to air, it gets a black coating of ...