C is called a structured programming language because to solve a large problem, C programming language divides the problem into smaller modules called functions or procedures each of which handles a particular responsibility. The program which solves the entire problem is a collection of such functions.

Here is an example of Matrix addition program, which is divided into these sub procedures – input matrix, display matrix, add matrix, save result matrix to file. Here is a pictorial structural view of the program.

Fig1:Structures of a c program

Tags , , , , , , , , , , , , , , , , ,

Leave a Reply

Want to see your ugly mug by your comment? Get a free custom avatar at Gravatar.