C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 19)
19.
Which of the following approach is adapted by C++?
Top-down
Bottom-up
Right-left
Left-right
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
27 comments Page 3 of 3.

Chaitra said:   1 decade ago
Can anyone give example (i. E program) for both top-down and bottom-up approaches?

Shivendra said:   1 decade ago
Can some one clearly elaborate these two words that is top down and bottom up approach.

Harshita said:   1 decade ago
In Top Down approach main function should be at the top, ie other function definetion are after main, while in bottom up approach we can define main ayewhere in our program.

Rock said:   1 decade ago
Can some tell clearly what TOP DOWN, BOTTOM UP means ?

Durgadevi said:   1 decade ago
Because we use main function in c++ at anywhere but the compiler starts to compile the program in main function so it is called as bottom up approach.

Prashant said:   1 decade ago
If we use functional approach it is top down, and when we follow object oriented approach then it is bottom up approach.

So C always uses top down approach, whereas C++ also uses bottom up approach.

Ratnesh said:   1 decade ago
Because main function define after define of class but compiling process start from main function. Invoking object call function from classes.


Post your comments here:

Your comments will be displayed after verification.