C Programming – Features & The First C Program
Have you ever wondered why a company like Google has separate departments for different
tasks related to the same job? For example, if the job is to develop a software.
Below are the possible departments involved in a software development project:
Requirement analysis
Designing
Have you ever wondered why there are so many departments for the development of a
single software? Perhaps there is a department for designing, another for coding, and a
separate one for testing. The reason behind this is to divide a large task into smaller, more
manageable ones. This is a common strategy for success in any task we want to
accomplish.
For instance, when searching for effective study habits on Google, one of the results that
popped up was to avoid cramming all studying into one session. Successful students
typically space their work over shorter periods of time and rarely try to cram all of their
studying into one or two sessions. The same concept applies to software development;
breaking down a large program into smaller programs, called procedures or functions,
makes it easier to work with them. This is the idea behind procedural programming
languages.
Everything in C is simply a set of procedures or functions, which is the main feature of the
language. This is the distinction between high-level and low-level languages, where high or
low refers to the degree of abstraction. Abstraction means hiding system-level details, so a
high degree of abstraction means less effort for the user and more user-friendliness. We
don't have to worry about what's happening inside.
A simple example is a text editor, where we just type out the text and hit save when we're
done.
Do you ever wonder how your information is being stored without concerning yourself with
the specifics of where and how it is being stored? This is known as a higher level of
abstraction. Conversely, a lower degree of abstraction requires more effort from the user, as
they would need to understand all the internal details of the computer. High level
programming languages, such as COBOL, are an example of this.
Programming Languages
FORTRAN
C++
LIPS
Have you ever wondered why a company like Google has separate departments for different
tasks related to the same job? For example, if the job is to develop a software.
Below are the possible departments involved in a software development project:
Requirement analysis
Designing
Have you ever wondered why there are so many departments for the development of a
single software? Perhaps there is a department for designing, another for coding, and a
separate one for testing. The reason behind this is to divide a large task into smaller, more
manageable ones. This is a common strategy for success in any task we want to
accomplish.
For instance, when searching for effective study habits on Google, one of the results that
popped up was to avoid cramming all studying into one session. Successful students
typically space their work over shorter periods of time and rarely try to cram all of their
studying into one or two sessions. The same concept applies to software development;
breaking down a large program into smaller programs, called procedures or functions,
makes it easier to work with them. This is the idea behind procedural programming
languages.
Everything in C is simply a set of procedures or functions, which is the main feature of the
language. This is the distinction between high-level and low-level languages, where high or
low refers to the degree of abstraction. Abstraction means hiding system-level details, so a
high degree of abstraction means less effort for the user and more user-friendliness. We
don't have to worry about what's happening inside.
A simple example is a text editor, where we just type out the text and hit save when we're
done.
Do you ever wonder how your information is being stored without concerning yourself with
the specifics of where and how it is being stored? This is known as a higher level of
abstraction. Conversely, a lower degree of abstraction requires more effort from the user, as
they would need to understand all the internal details of the computer. High level
programming languages, such as COBOL, are an example of this.
Programming Languages
FORTRAN
C++
LIPS