![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 28.05.2021 15:10 enthusiastfranklin
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](/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, 22.06.2019 09:00
Meenu wants to create a high quality drawing in a variety of colours. which device should she use for the same?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:10
Asequential circuit contains a register of four flip-flops. initially a binary number n (0000 ≤ n ≤ 1100) is stored in the flip-flops. after a single clock pulse is applied to the circuit, the register should contain n + 0011. in other words, the function of the sequential circuit is to add 3 to the contents of a 4-bit register. design and implement this circuit using j-k flip-flops.
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 22.06.2019 22:30
Write a full class definition for a class named player , and containing the following members: a data member name of type string .a data member score of type int .a member function called setname that accepts a parameter and assigns it to name . the function returns no value.a member function called setscore that accepts a parameter and assigns it to score . the function returns no value.a member function called getname that accepts no parameters and returns the value of name .a member function called getscore that accepts no parameters and returns the value of score .this is what i have, aparently this is wrong: class player{private: string name; int score; public: void player: : setname (string n){name =n; }void player: : setscore (int s){score = s; }string player: : getname (){return name; }int player: : getscore (){return score; }};
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 12:30
What is the difference between the internet and the world wide web?
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](/tpl/images/cats/himiya.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/istoriya.png)
History, 19.02.2021 22:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/es.png)
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/istoriya.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/mat.png)
Mathematics, 19.02.2021 22:30
![question](/tpl/images/cats/istoriya.png)