Basic Structure of A C Program
Basic Structure of A C Program
Programming language are defined as a language which are used to implement some logics
into its process forms.
There are two types of Programming language: i) High Level Language(HLL), ii) Low Level
Language(LLL)
HLL are easy to develop but execution time is more.
LLL are hard to develop but execution time is less.
HLL may consists of English alphabets ,numeric symbols and special characters.
LLL may consists of machine level codes and binary information.
Introduction to C
The C Language has the property of high level languages and low level languages. That is
why C language is often called as a middle level language.
It is follows the top-down approach.
It is does not support the code re-usability concept.
Documentation section
Link Section
Definition Section
Global declaration section
Function prototype declaration section
Main function
User defined function definition section
Programs:
1. Wap to create a calculator program with runtime value.
2. Wap to find Area and Perimeter of Rectangle ,Circle, Square.
3. Wap to convert and print the distance of city in meters, feet, inches and
centimetres. Input the distance (in KM) at runtime.
4. Wap to convert the temperature from Fahrenheit to Centigrade.
Formula: (F-32)/9*5
5. Wap to interchange the two number using third variable. And not using
third variable.
6. Wap to find the aggregate and Percentage of a student’s marksheet.