0% found this document useful (0 votes)
16 views1 page

C Programming Assignment 2

The document outlines the questions for a C programming assignment, covering topics such as operators, data type conversion, decision control statements, iterative statements, and function concepts. It includes specific programming tasks like displaying month names, generating patterns, and printing Fibonacci series with and without recursion. Additionally, it emphasizes the need to solve textbook and previous year question paper problems.

Uploaded by

Sandeep S H
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views1 page

C Programming Assignment 2

The document outlines the questions for a C programming assignment, covering topics such as operators, data type conversion, decision control statements, iterative statements, and function concepts. It includes specific programming tasks like displaying month names, generating patterns, and printing Fibonacci series with and without recursion. Additionally, it emphasizes the need to solve textbook and previous year question paper problems.

Uploaded by

Sandeep S H
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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

You might also like