Header Ads Widget

Top Billboard Ads

Unit V: Arrays and Strings | BCA 2nd Semester C Programming Notes Pdf

Arrays are a form of data structure that may hold a fixed-size collection of elements of the same type in sequential order. Although an array is used to hold data, it is frequently more practical to consider it as a collection of variables of the same type.

A string is the set or collection of characters, digits, and symbols enclosed in quotation marks. We can also define a string as the array of characters. A string is always terminated by a null character i.e. (\0). \0 is important because it is only the way the string handling functions can know where the string ends.

Arrays and Strings – C Programming

In this “Arrays and Strings – C Programming” you will learn about the following topics:

  1. Introduction to Arrays
  2. Properties of Array, Advantages of Array, Disadvantage of Array, Declaring Arrays, Initializing Arrays, Accessing Array Elements
  3. One Dimensional Array
  4. Multi-Dimensional Array
  5. Differences between One Dimensional and Multi-Dimensional Array
  6. Passing Arrays as Function Arguments in C
  7. Return Array from Function in C
  8. Strings
  9. Initialization of String
  10. String Handling Function
  11. Strlen Function (), Strcpy Function (), Strcat Function (), Strcmp Function (), Strrev Function (), Strlwr Function (), Strupr Function ()



==== Point to Note ====

This article Arrays and Strings – C Programming is contributed by Pawan Tiwari, a student of LA GRANDEE International College (LGIC).

If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].

See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.

BCA 2nd Semester C Programming Language Notes Pdf:

Post a Comment

0 Comments