C Programming

⌘K
  1. Home
  2. Docs
  3. C Programming
  4. Introduction to C program...
  5. Programming Approach

Programming Approach

Programming Approach

There is mainly two types of programming approach:

Thank you for reading this post, don't forget to subscribe!
  • Top-Down Approach
  • Bottom-Up Approach

Top-down programming tends to generate modules that are based on functionality, usually in the form of functions or procedures.

  • In this approach, It starts from top to bottom of a program.
  • Function is considered as the basic unit.

Eg: C, Fortan etc.

2.) Bottom-up Approach

The bottom-up approach in programming refers to a method of problem-solving where you start by solving smaller, individual components of a problem before combining them to build a larger solution.

  • In this approach, It starts from bottom to top.
  • Data, object and class are considered as the basic unit.

Eg: C++, Java etc.

How can we help?