2) The purpose of the function seems to be to create a CRectangle object that is a copy of the object that's passed in, but with each dimension doubled. The name "duplicate" is misleading, because the function isn't actually creating a duplicate.
rectparam is the parameter to the function, containing the rectangle from which a double-sized copy is to be created.
rectres is the double-sized copy, which is created by the function and passed back as the return value.
second thing is i have interview for iOS developer but actually i am from electronics background so i was not in touch of programming much. they want proficiency in C and C++ and OOPS concepts.
second thing is i have interview for iOS developer but actually i am from electronics background so i was not in touch of programming much. they want proficiency in C and C++ and OOPS concepts.
I don't mean to sound rude but if you're not familiar with programming, what makes you think this job will be right for you?
i want to change my work field want to make career as a developer i have complited my B.tech in 2013. there are no jobs in core electronics companies so that why...you are a professional C++ developer guide me is it difficult to switch? they were told me they want proficiency in C,C++ languanges. after that they will give training for objective C.
Sounds like it might be difficult to achieve the the required proficiencies in a short time span to be honest. I switched, but i had been hacking about with code for 10 years before i left my last career and started software.