Cpr - Qb Chapter 03

  • November 2019
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Cpr - Qb Chapter 03 as PDF for free.

More details

  • Words: 204
  • Pages: 1
Question Bank: Chapter No. 03

Programming in ā€˜Cā€™ (9017) Arrays and Strings

Class: FYIF

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 Marks = 16 Winter 2007: 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. 2. Write a program to sort the array of ten integers. 3. State the use of strrev( ) function. 4. Differentiate between one dimensional and two dimensional array. 5. List the advantages of arrays.

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

4 4 2 2 4

Related Documents

Cpr - Qb Chapter 03
November 2019 1
Cpr - Qb Chapter 05
November 2019 6
Cpr - Qb Chapter 04
November 2019 5
Cpr - Qb Chapter 01
November 2019 3
Cpr - Qb Chapter 02
November 2019 2