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.
Comments