subject

8. What is the correct syntax of declaring arrays of pointers of integers of size 10 in C++?

a) int arr = new int[10];

b) int **arr = new int*[10];

c) int *arr = new int[10];

d) int *arr = new int [10];

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 06:00
What are the most likely causes of conflict at the meeting? check all that apply.
Answers: 1
question
Computers and Technology, 23.06.2019 17:30
Scientists have changed the model of the atom as they have gathered new evidence. one of the atomic models is shown below. what experimental evidence led to the development of this atomic model from the one before it? a few of the positive particles aimed at a gold foil seemed to bounce back. the colors of light emitted from heated atoms had very specific energies. experiments with water vapor showed that elements combine in specific proportions. cathode rays were bent in the same way whenever a magnet was brought near them.
Answers: 2
question
Computers and Technology, 24.06.2019 22:00
Is the process of organizing data to reduce redundancy. a. normalization b. primary keying c. specifying relationships d. duplication
Answers: 1
question
Computers and Technology, 25.06.2019 05:50
Acolor class has three public, integer-returning accessor methods: getred, getgreen, and getblue, and three protected, void-returning mutator methods: setred, setgreen, setblue, each of which accepts an integer parameter and assigns it to the corresponding color component. the class, alphachannelcolor-- a subclass of color-- has an integer instance variable, alpha, containing the alpha channel value, representing the degree of transparency of the color. alphachannelcolor also has a method named dissolve (void-returning, and no parameters), that causes the color to fade a bit. it does this by incrementing (by 1) all three color components (using the above accessor and mutator methods) as well as the alpha component value. write the dissolve method.
Answers: 2
You know the right answer?
8. What is the correct syntax of declaring arrays of pointers of integers of size 10 in C++?
<...
Questions
question
Mathematics, 27.02.2021 02:50
question
Mathematics, 27.02.2021 02:50
question
Mathematics, 27.02.2021 02:50
question
Mathematics, 27.02.2021 02:50
question
History, 27.02.2021 02:50
question
Mathematics, 27.02.2021 02:50
question
Mathematics, 27.02.2021 02:50
question
Mathematics, 27.02.2021 02:50
Questions on the website: 13722359