C-PROGRAMING LAB ASSIGNMENTS
!"#$%& ()*+ ,-./ 0.1/
%+23425 #65*7)8 92.2:2128 ;<1+=>5
#<:.2*.?@@ABCC@D@E
F336G:H):. D
Q1. WAP to display information about you
I. Name
II. Address
III. Branch
IV. City
Q2. WAP to find size of
I. long int
II. short float
III. signed char
Q3. WAP to convert given no.
I. decimal to octal
II. hexadecimal to octal
III. octal to hexadecimal
Q4. WAP to find ASCII code of given character.
Q5. WAP to create a calculator that can perform arithmetical
operations like addition, subtraction, division and multiplication.
Q6. WAP to calculate AREA of given by separate functions.
I. Area of circle
II. Area of triangle
III. Area of rectangle
IV. Square
Q7. WAP to swap two numbers
I. By using third variable
II. Without using third variable
Q9. WAP to calculate simple Interest.
Q10. WAP to calculate given formula for 3 numbers
I. Average
II. Mean