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
You are on page 1/ 1
Department of Computer Science and Engineering
Branch: B. Tech (CSE/ECE/MAE/MNC) Semester: 1st
Course Name: C Programming Lab Course Code: CS110 Maximum Time: 2 hours Date: 27/09/2024
1. Write a C program to create, initialize and use pointers.
2. Write a program in C to store n elements in an array and then identify the 2nd maximum, and 2nd minimum elements using a pointer. 3. WAP in C to print all permutations of a given string using pointers. (string: abcd) 4. Write a program in C to calculate the length of a string using a pointer. 5. Write a program to count the number of vowels and consonants in a string using a pointer. 6. Write a program in C to sort an array in ascending and descending order using a pointer. 7. Write a C program to take an input of two dimensional array from user and then display the elements of two dimensional array using pointers. 8. Write a C program to concatenate the two strings using pointers. 9. Write a program to perform the arithmetic operation on pointer. 10. Write a program to perform the swapping of two number using function pointer.
Course Title: Computer Fundamentals and C Programming Course Level: PG Credit Units:05 Course Type: CSIT634 Course Objectives LTP/ S SW/ FW Total Credi T Units