Panimalar Engineering College Internal Assessment - Iii Cs8251 Programming in C
Panimalar Engineering College Internal Assessment - Iii Cs8251 Programming in C
CS8251 PROGRAMMING IN C
Year/Sem. : I/II Branch: CSE
11. a. Explain different categories of operators in C and their precedence and also
the data types supported by C.
(Or)
search.
13. (a) Discuss how can you evaluate Mean, Median and Mode for an array of
numbers and Write a C program.
(Or)
(b) (i) What is Pointer? Explain Call by value and Call by reference in pointers
with examples. (7)
(ii) Explain how an array can be passed to a function. (6)
15. (a) (i) Explain File processing in C. List out the built-in functions associated
with files. (7)
(ii) What is command line argument? Write a C program to calculate
factorial value using command line arguments. (6)
(Or)
(b) Explain random access in files along with the functions used with suitable
examples.
Part – C ( 1 * 15 = 15 Marks)
16. Write C programs to implement the following without using built-in
functions:
a. String length
b. Comparison of two strings
c. Concatenation of two strings
d. Reversing a string
e. Checking weather a string is a Palindrome.