These are considered essential for coding tests and technical rounds.
C Program with String
This section covers a wide array of string manipulation tasks.
Convert the string from upper case to lower case.
Convert the string from lower case to upper case.
Delete all consonants from given string.
Count the different types of characters in given string.
Sort the characters of a string.
Concatenation two strings without using string.h header file.
Find the length of a string using pointer.
Prints initial of any name.
Print the string from given character.
Reverse a string.
Reverse a string using recursion.
String concatenation without using strcat.
Compare two strings without using strcmp.
String copy without using strcpy.
Convert a string to ASCII.
C Program with Matrix
Programs involving matrix operations are listed.
For addition of two matrices.
For subtraction of two matrices.
For multiplication of two matrices.
Find out sum of diagonal element of a matrix.
Find out transpose of a matrix.
For scalar multiplication of matrix.
Find inverse of a matrix.
Lower triangular matrix.
Upper triangular matrix.
Strassen's matrix multiplication program.
Find determinant of a matrix.
C Program with File Operations
This section outlines various tasks related to file handling.
Open a file, write some text, and close it.
Delete a file.
Copy a file from one location to other location.
Copy data of one file to other file.
Display source code as an output (produces its own source code).
Write string in the file.
Read string from file.
Write array in the file.
Concatenate two files and write it to a third file.
Find out size of any file.
Know type of file.
Know permission of any file.
Know last date of modification of any file.
Find size and drive of any file.
C Program with Complex Number
Programs for handling complex number arithmetic.
Complex numbers program.
For addition and subtraction of two complex numbers.
For multiplication of two complex numbers.
For division of two complex numbers.
C Program with Series
Tasks related to calculating sums of various mathematical series.
Find out the sum of series 1 + 2 + …. + n.
Find out the sum of series 1^2 + 2^2 + …. + n^2.
Find out the sum of series 1^3 + 2^3 + …. + n^3.
Find out the sum of given A.P. (Arithmetic Progression).
Find out the sum of given G.P. (Geometric Progression).
Find out the sum of given H.P. (Harmonic Progression).
Find out the sum of series 1 + 2 + 4 + 8 … to infinity.
C Program with Array
This category includes programs for manipulating and analyzing arrays.
Find out largest element of an array.
Find out second largest element of an unsorted array.
Find out second smallest element of an unsorted array.
Delete the duplicate element of an array.
For delete an element at desired position in an array.
For insert an element at desired position in an array.
Find largest and smallest number in an array.
C Program with Sorting
Various sorting algorithms are listed as programming tasks.
For bubble sort.
For insertion sort.
For selection sort.
For quick sort.
For heap sort.
For merge sort.
For shell sort.
…till next post, bye-bye & take care.
No comments:
Post a Comment