[go: up one dir, main page]

0% found this document useful (0 votes)
23 views2 pages

Practcalfile Question

The document contains 35 programming problems in C language covering arrays, matrices, strings, structures, file handling, and more. Some examples include writing a program to count even and odd numbers in an array, find the maximum and minimum elements in an array, calculate the sum of diagonal elements in a matrix, and perform basic operations on structures like adding, searching, and displaying bank records.

Uploaded by

upisop889900
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)
23 views2 pages

Practcalfile Question

The document contains 35 programming problems in C language covering arrays, matrices, strings, structures, file handling, and more. Some examples include writing a program to count even and odd numbers in an array, find the maximum and minimum elements in an array, calculate the sum of diagonal elements in a matrix, and perform basic operations on structures like adding, searching, and displaying bank records.

Uploaded by

upisop889900
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
You are on page 1/ 2

S.D.

COLLEGE OF MANAGEMENTS STUDIES MZN (732)


C. LANG.(BCA-206) DATE: 25-02-23

SUBMITTED DATE:- 24-04-23

1 .Wap in c Lang input N element in array & count even & odd no.

2. Wap in c Lang input N element in array & print max & min elements.

3. Wap in c Lang input N element in array & sum of diagonal elements.

4. Wap in c Lang input N elements in array & insert one element with given position.

5. Wap in c Lang input N element in array & print ascending order (bubble sort).

6. Wap in c Lang input N element in array & find the position of given elements (binary search).

7. Wap in c Lang input n*n matrix & print transpose matrix.

8. Addition two n*n matrix.

9. Multiplication two n*n matrix.

10.Wap in c Lang print 5*5 matrix as follows upper diagonal elements with ‘+1”,lower diagonal with
‘-1’ and diagonal elements with ‘0’.

11. Wap in c Lang to read a Matrix and find out the max element and its position in the matrix.

12. Wap in Lang swap two no with call by reference’s

13. Wap in c Lang input n elements in array with calloc function.

14. Wap in c Lang input any string with malloc & change size with realloc function

15. Wap in C Lang count vowel char given string.

16. Wap to count the no of words and length of given string.

17. Wap in C Lang input any string and print it length with user define function & passing argument.

18. Wap in C Lang copy one string two another string with user define function & passing argument

19 Wap in C Lang compare two string with user define function & passing argument.

20. Wap in C Lang concatenation two strings with user defines function & passing argument.

21. Wap in c Lang to read a line of text and print the no of occurrences of a given substring.
22. Wap in c lang input any string reverse all the word.

23. Wap in c lang Input any string sorting char by char.

24. Wap in c lang input multiple string and print it ascending order.

25. Wap in c lang Bank structure perform operation

1. Add customer 2.display all record 3.deposite amount 4. Withdraw amount 5. Search record

and 6. Exit . with in which following items are taken in the structure

a/c no, Name, father name, city, a/c type ,and amount where maximum costumer are 10.

26. Wap of student (structure) directory with nested structure & print student info. &

Percentage

27. Wap in c Lang to used the bitwise operator.

28. Wap to read data from keyboard & write to a file “input” again read the same data from the

Input file and display on the string.

29. Wap in C Lang count char, space, tabs and new lines in a file

30. Wap in c lang compare two text file.

31. Wap in c lang count no of word in text file.

32. Wap in c Lang copy one text file to another file with command line Argument

33. Wap in c Lang sum n no with command Line Argument.

34. Wap in c Lang input any string and update with Fseek function.

35.Wap in C Lang swap two no with used Macro.

You might also like