Conversion from a basic type to a class type may be
achieved using______________

Answer Posted / safe

using object.

Is This Answer Correct ?    18 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

write a program to find 2^n+1 ?

1816


What are functions in oop?

799


Why is destructor used?

776


What is class encapsulation?

849


How do you achieve runtime polymorphism?

764


What is destructor give example?

829


what is difference between class template and template class?

2425


What is the difference between static polymorphism and dynamic polymorphism?

868


#include #include #include #include void insert(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); insert(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void insert(char *items, int count) { register int a, b; char t; for(a=1; a < count; ++a) { t = items[a]; for(b=a-1; (b >= 0) && (t < items[b]); b--) items[b+1] = items[b]; items[b+1] = t; } } design an algorithm for Insertion Sort

2393


Why is abstraction needed?

780


What is destructor in oop?

812


class CTest { public: void someMethod() { int nCount = 0; cout << "This is some method --> " << nCount; } }; int main() { CTest *pctest; pctest->someMethod(); return 0; } It will executes the someMethod() and displays the value too. how is it possible with our creating memory for the class . i think iam not creating object for the class. Thanks in Advance... Prakash

2006


What are the features of oop?

856


What is static in oop?

839


Can static class have constructor?

802