What is OOPS and How it is different from Procedural
Programming ?

Answer Posted / arpit surothiya

in oop we focus object rater then procedure
and pop we focus on procedure

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oops in simple words?

577


write knight tour problem which is present in datastructure

2160


write a program to find 2^n+1 ?

1546


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

1696


why reinterpret cast is considered dangerous?

1896






What is for loop and its syntax?

596


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

2064


What is encapsulation example?

545


What is debug class?what is trace class? What differences are between them? With examples.

1604


What is encapsulation with real life example?

566


Can bst contain duplicates?

664


What are the benefits of interface?

577


Advantage and disadvantage of routing in telecom sector

782


Where You Can Use Interface in your Project

1423


Whats oop mean?

586