What is string?Explain any three string function in "string.h" header file in C with example.Write a program to check whether a word is palindrome or not.[2+3+5]
Control Structures
1.
What is loop? Differentiate between break and continue statement.Write a program to find sum of first N natural numbers.[6+4]
2.
Explain if else ladder with syntax and semantic.Write a program to find largest among 3 different numbers.[2+3]
3.
Write a program to check whether a given number is Armstrong number or not.[5]
Elements of C
1.
What is constant?Explain basic data types in C programming along with their range.[1+4]
File Handling
1.
Write a program to write N numbers in file "number.txt" and then read it and display only even numbers.[5]
Functions
1.
Explain call by reference of a function with suitable example.[5]
Input/output Functions
1.
What are conversion specifiers?Explain the compilation of C program in brief.[2+3]
Operators and Expressions
1.
What is operator precedence?Explain assignment and logical operator.[1+4]
Pointers
1.
What is pointer? How it differs from array?Write a program to add two 2D matrices.[4+6]
Structure and Unions
1.
What is structure?Write a program to read roll, name and marks of 10 students using structure and then display all records.[1+4]
2.
Write short notes on:a) Unionb) Switch statement[0+2.5+2.5]