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

C Programming Pointer Tutorials

The document outlines a series of C programming tutorials focused on the use of pointers. It includes tasks such as inputting numbers, finding the second largest element in an array, manipulating matrices, and string processing. Students are instructed to complete the exercises in a separate notebook and submit their solutions in order, including output displays.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views1 page

C Programming Pointer Tutorials

The document outlines a series of C programming tutorials focused on the use of pointers. It includes tasks such as inputting numbers, finding the second largest element in an array, manipulating matrices, and string processing. Students are instructed to complete the exercises in a separate notebook and submit their solutions in order, including output displays.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

C Programming Tutorials

Ch Pointer

1. WAP to input 10 numbers from the user and display the entered numbers using the
concept of pointer arithmetic.
2. WAP in C to find the second largest elements from an array containing n elements using
the concept of pointer.
3. WAP to read a 3*3 square matrix, find minimum integer value of a matrix, replace the
diagonal elements by the minimum element and display it using a pointer.
4. Using the concept of pointer, write a program to count the number of characters and the
number of words in a line of text entered by the user.
5. WAP that calls reversearray() to reverse the array and return the array and display the
elements of reversed array using a pointer.
6. WAP that reads a string from the user and use a user defined function to copy the
contents of the read string into another character array changing lowercase to upper if
any. Use a pointer to process string.
7. Write a complete program that adds the corresponding elements of two matrices of the
elements of the elements that are positive, otherwise multiply the corresponding
elements using the concept of passing array to the function and pointer.
8. WAP to convert a lowercase character into uppercase character and vice versa using the
concept of call by reference.
9. WAP to multiply two given matrices if possible using the concept of a pointer.

Note: Use Separate notebook for the tutorials and the students are requested to submit the
solutions serially from Q. no. 1. Also display the output in your solution.

You might also like