You are on page 1of 1

Unit-1

1. Explain about structure of a c program with example


2. Draw neat Computer block diagram and explain the different parts with examples
3. Explain about data types used in C with examples?
4. Explain about the operators in C with example?
5. Define Algorithm. Explain about algorithm and write one example

Unit-2

1. Explain about switch case statement with an example?


2. Write a C program to check whether given number is Armstrong or not?
3. Write a C program to check whether given number is palindrome or not
4. Explain about if and if-else statement with an example
5. Explain about while loop and do-while loop with an example.

Unit-3

1. Explain about String standard functions with examples.


2. Write a C Program to check whether the given String is Palindrome or not?
3. Write a C Program to display the addition of two matrices?
4. 5. What is 2-D Array? How to declare and Initialize and how to access elements of 2-D Array explain with
an example?
5. What is an Array? How to declare and Initialize an Array? How to access elements of an array explain with
an example?
Unit-4
1. Elaborate the importance of dynamic memory allocation with example?
2. Define a structure? Describe how to declare and initialize structure and its members with an example?
3. Define a union? Describe how to declare and initialize union and its members with an example?
4. Write a C Program using pointer to swap two numbers?
5. Discuss in detail about pointer arithmetic? Support the answer with appropriate example?

Unit-5
1. Explain call by value and call by reference? And write an example for each of those?
2. What a recursion? Write a program to find the factorial of a given number using recursion?
3. Write a C program for finding the GCD among two numbers using recursion?
4. . Explain the following functions
1. fprintf()
2. fscanf()
3. getw()
4. putw()
5. . Explain Storage classes with examples?

You might also like