Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

SSN COLLEGE OF ENGINEERING

DEPARTMENT OF INFORMATION TECHNOLOGY

EEE - IV SEM A ASSIGNMENT I DATE : 04.2.16

C++ Programs

1. Write a program to find the area of circle, square, rectangle using separate
functions.

2. Write a program to evaluate sin x and cos x series.

3. What do you mean by dynamic initialization of a variable? Give an example.

4. What is reference variable? What is its use?

5. How does a constant defined by const differ from the constant defined by the
preprocessor statement #define?

6. What are const and volatile functions? Give example.

n
7. Write a program to find the value of m using inline function.

8. Write a program to convert Celsius to Farenheit.

9. Write a program to read a file and convert the contents of the file to Uppercase
characters.

10.Write a program having a structure named Time which has three integer data
members i.e. hour, minute and second. The task is to add two Time type
variables using a function.

DATE OF SUBMISSION : 09.02.16

Note to the students: This assignment carries 5 marks in UT I if is submitted on or


before the submission date. The assignments submitted after the submission date
would not be considered for evaluation.

You might also like