Attempt any Eight questions.
[8*5=40]
4.
What is break statement ? Discuss with example. How the break statement is different from continue statement? [1+0.5+3.5]
5.
Write a program to check whether a number entered is even or odd. [5]
6.
Write a program to calculate sum of first 10 odd numbers. [5]
7.
What is preprocessor directive? Discuss #define derivative with example. [1.5+3.5]
8.
Discuss any five string library functions. [5]
9.
What is dynamic memory allocation? Discuss the use of malloc() in dynamic memory allocation with example. [1+4]
10.
What is structure? Create a structure rectangle with data members length and breath. [2+3]
11.
Write short note on: a. Benefits of data files b. Graphics functions. [2.5+2.5]
12.
Discuss different logical operations in details. [5]