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
Dr.Ghanshyam Singh P.
G College Soyepur,Lalpur,Varanasi BCA 2nd Sem practical Session(2023-2024)
(A) Array based Questions
1-Insert An Element Desired or Specific Position In An Array 2-Check String Is Palindrome Or Not Using For Loop 3-Find a maximum and minimum element in an array. – using recursion. 4-Sort even and odd elements of the array separately. 5-The transpose of a matrix. (B) String based questions 6-Convert lowercase string to uppercase. 7-Count the total number of vowels and consonants in a string. (C) Pointer based Questions 8-Add two numbers using pointers. 9-Reverse an array using pointers. 10-Return multiple values from a function using pointers. (D) structure and union based questions 11-C program to create, declare and initialize structure 12-C program to demonstrate example of Nested Structure 13-C program to declare, initialize an union, example of union 14-C program to find the size of the union 15-C program to add two distances in feet and inches using structure (E) File Handling based questions 16-Create a file and write contents, save and close the file. 17-Read file contents and display them on the console. 18-Compare two files. 19-Count characters, words and lines in a text file. 20-Find and replace a word in a text file.