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

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 21:00
The mode is generally used when delivering a presentation to an need now
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
question
Computers and Technology, 24.06.2019 02:30
Which option completes the explanation for conflict of interest in an organization
Answers: 1
question
Computers and Technology, 24.06.2019 09:30
Atype of researcher who uses computers to make sense of complex digital data
Answers: 1
You know the right answer?
Each of the following definitions and program segments has errors. Locate as many as you can. 1. in...
Questions
question
Mathematics, 14.07.2020 02:01
question
Mathematics, 14.07.2020 02:01
question
Mathematics, 14.07.2020 02:01