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
hamza shaheen Questions
5601 Questions
Write a C++ program to check a given array of integers and return true if the array contains 10 or 20 twice. The length of the array will be 0, 1, or 2
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
159
Write a C++ program to check a given array of integers, length 3 and create a new array. If there is a 5 in the given array immediately followed by a 7 then set 7 to 1
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
136
Write a C++ program to compute the sum of the two given arrays of integers, length 3 and find the array which has the largest sum
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
210
Write a C++ program to check if a given string begins with 'abc' or 'xyz'. If the string begins with 'abc' or 'xyz' return 'abc' or 'xyz' otherwise return the empty string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
184
Write a C++ program to check whether the first two characters and last two characters of a given string are same
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
173
Write a C++ program to concat two given strings. If the given strings have different length remove the characters from the longer string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
97
Write a C++ program to create a new string using 3 copies of the first 2 characters of a given string. If the length of the given string is less than 2 use the whole string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
144
Write a C++ program to create a new string from a given string. If the two characters of the given string from its beginning and end are same return the given string without the first two characters otherwise return the original string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
122
Write a C++ program to create a new string from a given string without the first and last character if the first or last characters are 'a' otherwise return the original given string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
133
Write a C++ program to create a new string from a given string. If the first or first two characters is 'a', return the string without those 'a' characters otherwise return the original given string
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
140
Write a C++ program to check a given array of integers of length 1 or more and return true if 10 appears as either first or last element in the given array
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
142
Write a C++ program to check a given array of integers of length 1 or more and return true if the first element and the last element are equal in the given array
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
143
Write a C++ program to check two given arrays of integers of length 1 or more and return true if they have the same first element or they have the same last element
C++ programming
Programming
2022-05-18
Answers
30
Question
40
Followers
30
0
1
143
Total:
5601
Previous
357
358
359
360
361
Next
Go