it is related to computer languages.
Why "c language" is called "structured programming language"?
In general, Structured programming can be seen as a subset or subdiscipline of procedural programming, one of the major programming paradigms. It is most famous for removing or reducing reliance on the GOTO statement.
In programing languages that use the Structured programming paradigm, you write functions (sometimes called: procedures, sub routines, methods) to perform certain tasks within the program.
Here is an example:
In a normal programing language, if you want the program do to something when a user clicks the mouse, you will tell the program to GOTO a location within the code lines to excuse then after this code executes, you will use GOTO to go to somewhere else. Programming languages that use this technique usually called "Step Driven Programming Languages".
On the other hand, Structured programming use functions! you simply call the function, it execute then you continue working. When you use this technique, you will find out that your program is simply divided (structured) into function. That's why it's STRUCTURED! :)
Structured Programming opened the door for the OOP that we all use today (Object Oriented Programming)
Hope this helps!
Reply:A structured prorgram is built by breaking down the program's
purpose into smaller pieces that then become functions within the program.Each function have its own data and logic.It is the idea behind C program.That's why c language is called structured programmig language...
Reply:In contrast to object oriented programming languages, C organizes the program logic in functions and data in structures.
The program execution flows therefore in a structured way.
bouquet
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment