Answer Posted / v
This will fail if the input array is {-1,-2,-3}
| Is This Answer Correct ? | 17 Yes | 7 No |
Post New Answer View All Answers
Can you use the function fprintf() to display the output on the screen?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
Name the implicit member functions of a class.
What is the best free c++ compiler for windows?
What does new return if there is insufficient memory to make your new object?
Can user-defined object be declared as static data member of another class?
What is searching?
How do you invoke a base member function from a derived class in which you’ve overridden that function?
Write a program which is required to process the time of a clock in hours and minutes, entered from the keyboard. With this program, there are two requirements for any data entered by a user: 1. The data must be of the correct type (in this case, two ints). 2. The data must be in the correct range: this means that, for the minutes, negative numbers and any number above 59 must be rejected; for the hours, negative numbers and any number above 23 must be rejected. Output error message for invalid data input. Output the time one and a half hour after the time input. i.e. Hour: 22 Min: 32 One and a half hour after 22:32 is 00:02
Who was the creator of c++?
Difference between overloaded functions and overridden functions
What is endl c++?
What is the extraction operator and what does it do?
Should a constructor be public or private?
What is a storage class? Mention the storage classes in c++.