You are on page 1of 1

Question Bank: Programming in ‘C’ (9017) Class: FYIF

Chapter No. 03 Arrays and Strings

Summer 2007: Marks = 16


1. Define and declare two dimensional array. 2
2. State use and syntax of strcmp( ) function. 2
3. Explain the need for array variables. 4
4. Explain strcpy( ) function in detail. 4
5. Write a program to accept a string and display a list of ASCII codes
which represent accepted string. 4

Winter 2007: Marks = 16


1. What do you mean by character array? 2
2. Give syntax of strcat( ) function. 2
3. Explain two dimensional array. Also explain how to declare and
initialize two dimensional array with example. 4
4. Explain strlen( ) and strcmp( ) function with example. 4
5. Write a program to find largest number from given array. 4

Other:
1. Explain how to initialize the array at run time and compile time. 4
2. Write a program to sort the array of ten integers. 4
3. State the use of strrev( ) function. 2
4. Differentiate between one dimensional and two dimensional array. 2
5. List the advantages of arrays. 4

CPR (FYIF) by Mr. Kute T. B. (Lecturer in IT, KK Wagh Polytechnic, Nashik 2007-2008)

You might also like