Define array?What are the benefits of using array?Write a program to add two matrices using array.[1+2+7]
Control Statement
1.
What is looping statement?Discuss different looping statements with suitable example of each.[2+8]
2.
What is break statement ?Discuss with example.How the break statement is different from continue statement?[1+0.5+3.5]
3.
Write a program to check whether a number entered is even or odd.[5]
Elements of C
1.
What is preprocessor directive?Discuss #define derivative with example.[1.5+3.5]
File Handling in C
1.
Why do we need data files?What are the different file opening modes?Write a program that reads data from a file "input.txt" and writes to "output.txt" file.[2+3+5]
2.
Write short note on: a. Benefits of data filesb. Graphics functions.[2.5+2.5]
Functions
1.
Write a program to calculate sum of first 10 odd numbers.[5]
2.
Discuss any five string library functions.[5]
Operators and Expression
1.
Discuss different logical operations in details.[5]
Pointers
1.
What is dynamic memory allocation?Discuss the use of malloc() in dynamic memory allocation with example.[1+4]
Structure and Union
1.
What is structure?Create a structure rectangle with data members length and breath.[2+3]