![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 31.12.2019 00:31 tcarston1728
Consider the partially-filled array named a. what does the following loop do? (cin is a scanner object)
int[] a = {1, 3, 7, 0, 0, 0};
int size = 3, capacity = 6;
int value = cin. nextint();
while (size < capacity & & value > 0)
{
a[size] = value;
size++;
1. reads one value and places it in the remaining three unused spaces in a.
2. reads up to 3 values and places them in the array in the unused space.
3. reads up to 3 values and inserts them in the array in the correct position.
4. crashes at runtime because it tries to write beyond the array.
![ansver](/tpl/images/cats/User.png)
Answers: 1
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 11:50
While preforming before operation pmcs, you notice the front right tire appears slightly under-inflated. what is the proper action?
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 23:40
4. what is the reason for including the following code snippet in the header file animal.h? #ifndef animal_h #define animal_h class animal { public: animal(); animal(double new_area_hunt); void birth(); void hunt(double new_area_hunt); void death(); double get_area_hunt() const; private: double area_hunt; }; #endif
Answers: 3
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 13:00
What are some websites that you can read manga (ex: manga rock)
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 15:30
How do i change the size of my bookmarks in my bookmarks bar in google chrome? ? plz hlp me
Answers: 2
You know the right answer?
Consider the partially-filled array named a. what does the following loop do? (cin is a scanner obj...
Questions
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/istoriya.png)
History, 16.12.2019 08:31
![question](/tpl/images/cats/biologiya.png)
Biology, 16.12.2019 08:31
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/himiya.png)
Chemistry, 16.12.2019 08:31
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2019 08:31
![question](/tpl/images/cats/himiya.png)
Chemistry, 16.12.2019 08:31
![question](/tpl/images/cats/himiya.png)
Chemistry, 16.12.2019 08:31
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2019 08:31
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/health.png)
![question](/tpl/images/cats/fizika.png)
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 16.12.2019 08:31
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 16.12.2019 08:31