Question #39562

14. If you create a structure named Dalmatian that has a public integer field named numSpots, and you create an array of 101 Dalmatians named litter, then you can display the number of spots belonging to the first Dalmatian with the statement _____.
16. If you create a character array using the statement char name[] = "Paulette"; then the created string ends with a(n) _____.
17. A list of individual items that are stored in adjacent memory locations and all have the same type is called a(n) _____.
18. If you declare a variable as int var = 5; and the compiler stores var at memory address 3000, then the value of &var is ________.
1

Expert's answer

2014-03-13T13:53:45-0400

Answer on Question#39562 - Programming – C++

14. If you create a structure named Dalmatian that has a public integer field named numSpots, and you create an array of 101 Dalmatians named litter, then you can display the number of spots belonging to the first Dalmatian with the statement


std::cout << litter[0].numSpots;


(n) a array and array) c character cheated change[= for have if in is k n name[8] name[8] == of page[8] >> 17. A list of individual items that are stored in adjacent memory locations and all have the same type is called array

18. If you declare a variable as


int var = 5;


and the compiler stores var at memory address 3000, then the value of &var is 3000.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS