subject

Each of the following definitions and program segments has errors. Locate as many as you can. 1. int table[10];
for (int x = 0; x < 20; x++)
{
cout << "Enter the next value: ";
cin >> tab1e[x];
2. int numbers [8] = { 1, 2, , 4, , 6};
3. float ratings [];
4. char greeting [ ] = {'H' , 'e' , 'l' , 'l' , 'o' };
cout << greeting
5, int array1 [4] , array2 [4] = { 3, 6, 9, 12} ;
array1 = array2;
6 void showvalues (int nums)
{
for { int count = 0; count < 8; count ++)
cout << nums [ count] ;
}
7, void showvalues ( int nums [4] [ ] )
{
for (rows = 0; rows <4 ; rows ++)
for (cols = 0 ; cols < 5 ; cols++)
cout << nums [ rows ] [ cols] ;
}
8, vector numbers = {1, 2, 3, 4 } ;

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 23.06.2019 01:40, littlebirdd987
You have a linux system that has a 1000gb hard disk drive, which has a 90gb partition containing an ext4 filesystem mounted to the / directory and a 4gb swap partition. currently, this linux system is only used by a few users for storing small files; however, the department manager wants to upgrade this system and use it to run a database application that will be used by 100 users. the database application and the associated data will take up over 200gb of hard disk space. in addition, these 100 users will store their personal files on the hard disk of the system. each user must have a maximum of 5gb of storage space. the department manager has made it very clear that this system must not exhibit any downtime as a result of hard disk errors. how much hard disk space will you require, and what partitions would you need to ensure that the system will perform as needed? where would these partitions be mounted? what quotas would you implement? what commands would you need to run and what entries to /etc/fstab would you need to create? justify your answers.
Answers: 3
image
Computers and Technology, 23.06.2019 02:30, reyne36
Rafael needs to add a title row to a table that he has inserted in word. what should he do? use the alignment options. use the merge and center option for all the cells in the top row. use the merge and center option on the first two cells in the top row. none of the above
Answers: 3
image
Computers and Technology, 24.06.2019 00:00, Amrinderkhattra
Visualizing a game of “tag” to remember the meaning of contagious
Answers: 3
image
Computers and Technology, 24.06.2019 07:20, stephanieyingepbtcf8
3pointsyou've found an image you want to insert into your slide presentation. youwant to make the image look more gray so that it looks like an older imagewhat would you need to adjust? 0.00o a. sizeo b. hueo c. contrasto d. tones
Answers: 2
You know the right answer?
Each of the following definitions and program segments has errors. Locate as many as you can. 1. in...

Questions in other subjects: