C Programming
C Programming
A000213(022)
B. Tech. (First and Second Semester)
Examination, Nov.-Dec. 2020
Unit-I
A000213(022) PTO
21 3
(c) What is flowchart? Also draw the flowchart to b) List and explain any 7 library functions on strings. 8
calculate area and circumference of circle for given
c)What is the difference between a character array
radius 8
and a string?
d)Explain the structure of C program with example
(d) Write a C code to Sort the elements of an integer
and features of C. 8
using Selection Sort. Demonstrate the working of
Selection Sorttechnique
Unit-II
2. (a) Differentiate, between while and do while loop. 4 Unit-IV
b) Write a program in C to print inverted pyramid: 8 4. (a) Define function and its types.
**** *
(b) Write a C program for Fibonacci series by using
function
(c) Write short notes on
) Call by Value
i) Call by Reference with example
(c) Explain the syntax of switoh-case statement. Also
mention the role of break; continue 'and default (d) Explain categories of function with example. 8
statement in switçh case. 8
Unit-V
(d) Write a program in C to calculate factorial of a
given number using for loop. 5. (a) Define structure and how it is declared?
1001 A000213(022)