0% found this document useful (0 votes)
3 views1 page

Tutorial - 6

The document outlines a tutorial with programming exercises in C focusing on arrays and strings. It includes tasks such as counting duplicate elements, copying arrays, counting even and odd numbers, and searching for elements. Additionally, it covers various string operations like length, copy, compare, concatenate, reverse, convert to uppercase, and palindrome checking.

Uploaded by

Pooja Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

Tutorial - 6

The document outlines a tutorial with programming exercises in C focusing on arrays and strings. It includes tasks such as counting duplicate elements, copying arrays, counting even and odd numbers, and searching for elements. Additionally, it covers various string operations like length, copy, compare, concatenate, reverse, convert to uppercase, and palindrome checking.

Uploaded by

Pooja Singh
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

Tutorial - 6

Arrays:

1. Write a program in C to count the total number of duplicate elements in an array.

2. Write a program in C to copy the elements of one array into another array.

3. Write a C program to count even and odd numbers in an array.

4. Write a C program to search for an element in an array (linear search).

Strings:

1. Demonstrate all the string operations mentioned below:

1. String Length
2. String Copy
3. String Compare
4. String Concatenation
5. String Reverse
6. Convert to Uppercase
7. Check if String is Palindrome

You might also like