Discover
Questions library
Collections library
Find online teacher
login
Discover
questions library
Find online teacher
login
Popular searches:
if-else
class-diagram
flowchart
Polymorphism
Home
Questions
Questions
Study lists
Kasim Kamal Questions
290 Questions
Write a program to initialize a vector from an array of ints
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
188
Write a program to define two character arrays initialized from string literals. Now define a third character array to hold the concatenation of the two arrays. Use strcpy and strcat to copy the two arrays into the third
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
222
Write a program to compare two strings. Now write a program to compare the values of two C-style character strings
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
172
In this section, we noted that it was not only illegal but meaningless to try to add two pointers. Why would adding two pointers be meaningless
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
164
What does the following program do?
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
149
Write a program to compare two arrays for equality. Write a similar program to compare two vectors
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
153
Using pointers, write a program to set the elements in an array to zero
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
173
Given that p1 and p2 point to elements in the same array, what does the following code do? Are there values of p1 or p2 that make this code illegal
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
179
What would happen if we did not initialize the scores array in the program on page 116
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
170
Copy the array you defined in the previous exercise into another array. Rewrite your program to use vectors
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
162
Write a program to define an array of ten ints. Give each element the same value as its position in the array
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
169
Identify the indexing errors in the following code
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
176
List some of the drawbacks of using an array instead of a vector
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
142
Total:
290
Previous
6
7
8
9
10
Next
Go