C PROGRAMMING ASSIGNMENT 2 QUESTIONS
Subject Code: BESCK104E
Module – 2
1. Explain the operators in C.
2. Explain the conversion hierarchy of the data types in type conversion.
3. What are decision control statements? Explain in detail. Also write the
limitations of switch statement.
4. Write a short on iterative statements in C language.
5. Explain the below statements:-
a) Break b) Continue c) Goto
6. Write a program to read month of the year as an integer. Then display the
name of the month.
7. Write a program to generate the following pattern.
$ * * * $
*$ $ *
* $ *
* $ $ *
$ * * * $
Module 3
1. Define a function. Why are they needed?
2. Differentiate between function declaration and function definition.
3. Explain the concept of making function calls.
4. Differentiate between formal parameters and actual parameters.
5. How many types of storage classes does the C language support? Why do we
need different types of such classes.
6. Explain the concept of recursive functions with an example.
7. Differentiate between call by value and call by reference using suitable
examples.
8. Write a program to print the Fibonacci series a) with using recursion (b)
without using recursion.
Note: Solve text book and previous year question paper problems