Question: What is the correct syntax of declaring array of pointers of integers of size 10 in C++?
Options
A : int arr = new int[10];
B : int **arr = new int*[10];
C : int *arr = new int[10];
D : int *arr = new int*[10];
Previous ||
Cplusplus Programming Oops Concept 4 more questions
The correct statement for a function that takes pointer to....
How do you allocate a matrix using a single pointer....
Which of the following is illegal?
Which of the following is not a valid variable name....
Which of the following function declaration is illegal?
How do you instantiate an array in Java?
How do you initialize an array in C?
Which of the following correctly declares an array?
What is the signature of math in function using command....
Which of the following is not a valid C variable....
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Cplusplus Programming More Containers
Cplusplus Programming Namespaces 2
Cplusplus Programming Objective
Cplusplus Programming Oops Concept 1
Cplusplus Programming Oops Concept 2
Cplusplus Programming Operator Overloading 1
Cplusplus Programming Operator Overloading 2
C Plus Plus Programming Pointer To Void
Cplusplus Programming Question Papers
Cplusplus Programming Questions And Answers Associative Containers