WWW Manaresults Co in
WWW Manaresults Co in
3. a) What is string? Write a program to test whether a given string is a palindrome or not without
using functions.
b) Explain while, do-while and for statements with examples. (7+8)
4. a) What is an Array? Explain declaration and initialization of single, two and multi-
dimensional arrays.
b) Write a C program to add two matrices. (5+10)
6. a) What is a pointer? Explain the process of accessing a variable through its pointer with an
example.
b) Write a C program to swap two numbers using pointers. (8+7)
1 of 1
WWW.MANARESULTS.CO.IN
|''|'''||''||'''||||