Professional Documents
Culture Documents
Q. Explain the concept of preprocessor? Also described the preprocessor directions in detail. [RTU 2015]
Q. What is scope in variable in C? Explain type casting in detail also. [RTU 2015]
(b) What are the data type in C? Explain with example. [RTU 2001, 2006, 2011, 2014]
Q. Write a program to add two number and explain this program step by with the help of flow chart.
Q. What do you understand by precedence of operator? How is it consider in expression. [RTU 1994,
1999, 2003, 2010]
Q. Any character is entered through the keyboard, write a program to determine whether the character
entered is a capital letter, a small case letter, a digit or a special symbol.
Question Bank on part 3
The following table shows the range of ASCII values for various characters:
Character ASCII Values
A -Z 65-90
a-z 97-122
0-9 48-57
Q. Write a program to check whether the input number is prime or not. [RTU 2001, 2007, 2011, 2014]
Write a program that given number is prime or not. [RTU 2001, 2007, 2010, 2011]
Q. Write a program to pass a matrix as an argument to a function and display the matrix in the function.
[RTU 2015]
Q. Write a program in C for matrix multiplication. Assume there are two matrices of order 3*3. Also show
the output in new matrix as a order of 3*3. [RTU 1994, 1998, 2002, 2004, 2008, 2016]
Q. Write a program to find length, copy, concatenate, compare, and reverse of string using pre-define
function.
Q. Contrast between parameter passing in a function, ‘By Value’ and ‘By Reference’. [RTU 2016]
Question Bank on part 3
Q. Write a C language to swap two number using pointer and function. [RTU 2008, 2011, 2015]
Q. Write a program in C language for swapping two number using pointers. [RTU 2008, 2011]
Q. Write short note on Passing and Array to a function. [RTU 1994, 1998, 2002, 2005]
Q. Discuss various storage class available in ‘C’ with the help of suitable example. [RTU 2016]
Q. Explain array of structure with the help of suitable program also describe structure within structure
with example. [RTU 2015]
Q. Discuss various storage class available in ‘C’ with the help of suitable example. [RTU 2001, 2006,
2013, 2015, 2016]
Q. How can you pass entire array as a function argument explain by example. [RTU 2016]
Q. Write an explain string handling function and user define function. [RTU 2015]
Q. What do you mean by function? How many types of function are available in C? [RTU 2011, 2014]
Q. What is storage classes? How many storage classes are available in C? Explain. [RTU 2013, 2015,
2016]
Q. Write short note on Passing and Array to a function. [RTU 2010, 2013]
Q. Discuss predefined functions available in ‘C’ for file processing and handling. [RTU 2016]
Q. Write a program in ‘C’ to read contents from a file and display. [RTU 2016]
Question Bank on part 3
Q. Explain the function fopen() used to open a file in C. What are the different modes associated with
fopen()? Explain meaning of each one. [RTU 2005, 2010, 2011, 2014]
Q. Explain the function fopen() used to open a file in C. What are the different modes associated with
fopen()? Explain meaning of each one. [RTU 1995, 1999, 2002, 2005, 2011]