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
177
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
212
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
164
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
154
What does the following program do?
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
138
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
145
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
163
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
167
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
159
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
150
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
155
Identify the indexing errors in the following code
C++ programming
2022-07-04
Answers
30
Question
40
Followers
30
0
1
163
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
133
Total:
290
Previous
6
7
8
9
10
Next
Go