Thursday, July 8, 2021

c coding questions for cse-A

13.Find elements sum close to zero.
14.Non-repeating elements of an array 
15.Check if two arrays are the same or not 
16.Sum range of elements in an array 
17.Array is a subset of another array or not

Programs on 2d number arrays

18.Matrix operations (Addition, subtraction and multiplication)
19.Transpose of a matrix
20.Matrix Symmetric and identity check.

21.Upper triangular matrix or not
22.The maximum element in a row
23.The maximum element in a column
24.Saddle point coordinates of a given matrix
25.Matrix printing in a spiral form
26.Matrix rotation by 90 degrees clockwise and anticlockwise
27.Maximum binary sum  of matrix row with all 1s in a binary matrix
28.Number of even and odd elements in an array

Programs on strings
  1. Write a C program to copy one string to another string.
  2. Write a C program to concatenate two strings.
  3. Write a C program to compare two strings.
  4. Write a C program to convert lowercase string to uppercase.
  5. Write a C program to find total number of alphabets, digits or special character in a string.
  6. Write a C program to count total number of vowels and consonants in a string.
  7. Write a C program to count total number of words in a string.
  8. Write a C program to find reverse of a string.
  9. Write a C program to check whether a string is palindrome or not.
  10. Write a C program to reverse order of words in a given string.
  11. Write a C program to find first occurrence of a character in a given string.
  12. Write a C program to find last occurrence of a character in a given string.
  13. Write a C program to search all occurrences of a character in given string.
  14. Write a C program to count occurrences of a character in given string.
  15. Write a C program to find highest frequency character in a string
  16. Write a C program to count frequency of each character in a string.
  17. Write a C program to remove first occurrence of a character from string.
  18. Write a C program to remove all occurrences of a character from string.
  19. Write a C program to remove all repeated characters from a given string.
  20. Write a C program to replace first occurrence of a character with another in a string.
  21. Write a C program to replace all occurrences of a character with another in a string.
  22. Write a C program to find first occurrence of a word in a given string.
  23. Write a C program to search all occurrences of a word in given string.
  24. Write a C program to count occurrences of a word in a given string.
  25. Write a C program to remove first occurrence of a word from string.


No comments:

Post a Comment