What is an explicit constructor?
Answer / nimish singh
A conversion constructor declared with the explicit keyword. The compiler does not use an explicit constructor to implement an implied conversion of types. It's purpose is reserved explicitly for construction.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is c++ code?
What is Memory Alignment?
What is c++ hiding?
What is oop in c++?
What are the various compound assignment operators in c++?
if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.
What is the main use of c++?
What are the advantages of using const reference arguments in a function?
What is the use of static functions?
What are the manipulators in c++?
string somestring ; Which of the following choices will convert a standard C++ string object "somestring" to a C string? a) Copy.somestring () ; b) somestring.c_str () c) &somestring [1] d) std::cstring (somestring) e) (char *) somestring
Do vectors start at 0 c++?