Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
6 views

BCA C - programming sem 2

The document contains a series of programming tasks in C, focusing on array manipulation, matrix operations, string handling, and file management. It includes exercises for inserting, displaying, and performing calculations with arrays, as well as tasks for working with matrices and strings. Additionally, it covers concepts like pointers, structures, and conditional compilation.

Uploaded by

khannusrat8220
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views

BCA C - programming sem 2

The document contains a series of programming tasks in C, focusing on array manipulation, matrix operations, string handling, and file management. It includes exercises for inserting, displaying, and performing calculations with arrays, as well as tasks for working with matrices and strings. Additionally, it covers concepts like pointers, structures, and conditional compilation.

Uploaded by

khannusrat8220
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

C – Programming

(programs)

Q1) Write a program to insert and display


20 integers using array.
Q2) WAP to calculate sum of array elements
. Q3) WAP to count even elements of the array
Q4) WAP to add two 1D arrays.
Q5) WAP to multiply two 1D arrays.
Q6) WAP to count no of even and odd
elements from 50 integers using array.

Q7) WAP to search a particular element from


the list. Print the no of times the element is
present.

Q8) WAP to sort array elements using bubble


Sort.

Q9) WAP to add two matrices.


Q10) WAP to multiply two matrices.
Q11) WAP to print transpose of a matrix.

Q12) WAP to check whether the entered


matrix is symmetric or not a symmetric.

Q13) WAP to print diagonal elements of


Matrix of size 3*3.

Q14) WAP to check whether the entered


String is palindrome or not.

Q15) WAP to calculate the length of a string


without using strlen ().

Q16) WAP to print reverse of string without


using strrev ().

Q17) WAP to concatenate two strings with-


out using strcat ().
Q18) WAP to compare two strings.
Q19) WAP to passing array elements to a
function using call by value.

Q20) WAP to passing array elements to a


function using call by reference.
Q21) WAP to passing entire array to a
function.

Q22) WAP to display value and address of a


variable using pointer.

Q23) WAP to print array elements using


Pointer.

Q24) WAP to maintain records of 100 student


using structure.
Q25) WAP to maintain records of 100 student
. Print the name & id of student whose
birth month in march.

Q26) WAP to copy contents of one file to


another.
Q27) WAP using conditional compilation.

You might also like