Answer to Question #327529 in C++ for sachin

Question #327529

How to convert basic data to user defined data type?


1
Expert's answer
2022-04-11T16:50:16-0400

To convert basic data to user-defined data type one should use a constructor which obtained a single parameter of that basic data type.


For example constructor Int::Int(int i) will convert integer into user-defied type Int.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS