What is difference between initialization and assignment?
Answer Posted / hariharan,k
initialization mean's to initilise a variable.
assignment mean's assign value to a variable.
| Is This Answer Correct ? | 73 Yes | 41 No |
Post New Answer View All Answers
Which is not a valid keyword a) public b) protected c) guarded
Explain the isa and hasa class relationships. How would you implement each?
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
What function initalizes variables in a class: a) Destructor b) Constitutor c) Constructor
Write a program in C++ for Fibonacci series
Why we use #include conio h in c++?
What is pointer -to-members in C++? Give their syntax?
What is a binary file? List the merits and demerits of the binary file usagein C++.
What is iterator in c++?
Reverse the Linked List. Input: 1->2->3->4->5->NULL Output: 5->4->3->2->1->NULL
What is the most useful programming language?
What are c++ templates used for?
Show the declaration for a static function pointer.
What is data abstraction? How is it different from data encapsulation?
How does class accomplish data hiding in c++?