3. ARRAY
CHARACTERISTICS OF
ARRAY:-
• Fixed size
• Comman name
• Same datatype
• Logically related data
• Sequencial storage
Array is a fixed size sequencial collection of related
variables having same datatype and sharing comman name
OPERATION OF
ARRAY
• Merging
• Sorting
• Inserting
• Deleting
• Searching
4. ADVANTAGES OF
ARRAY• One name to store many variables
• Useful while working with sequncial data
• It makes program easy to read write and debug
DISADVANTAGES OF
ARRAY• Wastage of memory
• Only one datatype
• Sometimes not easy to operate
7. STRING HANDLING FUNCTION
FUNCTION
NAME
DETAILS
strcat() Concat two strings
strcpy() Copy two strings
strcmp() Compare two strings
strlen() To know the length of string
strncpy() To copy string upto n
strncmp() To compare string upto n
strncat() To concate string upto n
strcmpi() To compare string insensitivly
strrev() To reverse the string
strupr() To convert string in upper case
strlwr() To convert string in lower case
strstr() To match two strings
strchr() To match character in string