Professional Documents
Culture Documents
(Department of Mathematics)
Assignment No. 1
Class: M.Sc. (Course code: 1520)
=======================================================
Write a note on Integer overflow and Integer Underflow. Explain with some C++
Program.
Write a program in C++ that takes a number from user and tell whether the number
is even or odd?
1
Question No. 4 (a)
Write a program in C++ that calculates the average of 10 integers entered by user.
2
Question No. 8 (a)
What is Type Casting in C++. Explain in detail with some example.
Question No. 8 (b)
What is use of “sizeof” Operator in C++?