QUESTION BANK - Computer Fundamentals & C Programming
QUESTION BANK - Computer Fundamentals & C Programming
UNIT-1
UNIT-2
UNIT-4
Q1.What is an array with types? How can the entire array be passed to a function? How do you
declare and initialize an array? Explain in detail with examples.
Q2.Differentiate between Call by Value and Call by Reference with example.
Q3.What is a string? How to declare a string? Give different types of initialization of the strings.
Explain different functions used to Input / Output of strings data.
Q4.What do you mean by Pointer? Explain various operations on pointers by using suitable
examples.
Q5.a). What is a function? Explain the advantages to the use of functions.
b). Write notes on standard mathematical functions.
c).What are Library functions? What are the uses of these functions?
d).What is recursion? How is it useful? How is it implemented in the C language? Explain
with a program example.WAP for finding the factorial of a given number.
e). Explain various string manipulation functions with examples.
f). Differentiate between global and local variables.
g). Explain the following functions with example: 1. getche() 2. putch() 3. puts() 4. getchar()
5. gets() 6. getch()