Answer Posted / hariharan,k
An Array is set of related data items that shares a common
name.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
What is a c++ object?
What are the advantages of c++?
Why do we use using namespace std in c++?
What does it mean to declare a destructor as static?
Is turbo c++ free?
How do you flush a buffer in c++?
What is scope in c++ with example?
What are the advantages of early binding?
What is implicit pointer in c++?
How long does it take to get good at leetcode?
Can a program run without main function?
Explain how a pointer to function can be declared in C++?
What is the use of endl in c++?
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