- Check odd or even
- convert seconds to minutes
- convert seconds to hours
- convert seconds to minutes and hours
- convert minutes to seconds
- convert minutes to hours
- convert minutes to minutes and hours
- convert hours to minutes
- convert hours to seconds
- convert Fahrenheit to Celsius
- convert Fahrenheit to kelvin
- convert Celsius to Fahrenheit
- convert Celsius to kelvin
- convert kelvin to Celsius
- convert kelvin to Fahrenheit
- table of any number
- calculate HCF
- calculate LCM
- check perfect number
- reverse number
- display next prime number
- Program to add 2 numbers
- Find maximum of 2 numbers
- Find maximum of 3 numbers
- Find maximum of n numbers
- Swap 2 numbers
- Fibonacci series
- average of n numbers
- palindrome
- Calculate sum of digits
- Calculate reverse of a number
- Check a number prime or not
- Check a year leap year or not
- Check a character is vowel or not
- Check a character is digit or not
- Count number of vowels in a string
- Program to perform arithmetic operation
- Display list of 1 to 10 factorials
- Display list of 1 to 10 squares
- Program to add n integers
41. Sum of 1 to 100 even number
42. Sum of 1 to 100 odd numbers
43. Sum of 1 to 100 numbers divisible by 4
44. Sum of 1 to 25 numbers
45. Average of 1 to 35 numbers
Array Related-
- Reverse a array values
- Traversing
- Insert an element in array-
a) At the begin
b) At middle or any position except start or last
c) At the end
d) Insert an element in an array based on its position
e) Insert an element in an array based on its value
4. Delete an element in array
a) At the begin
b) At middle or any position except start or last
c) At the end
d) Delete an element from an array based on its value
e) Delete an element from an array based on its position
5. Searching an element in array
a) Linear Search
b) Binary Search
6. Sorting elements
a) Bubble sort
b) Selection sort
c) Insertion sort
d) Quick sort
e) Merge sort
f) Radix sort
g) Tree sort
h) Heap sort
7. Program to Swap First half with Last half of an Array
8. Program to Count numbers greater than 5
9. Program to Swap neighbor elements in an array
10. Program to print array values through Pointers
11. Program to find sum of an array using pointers
12. Program to find maximum in an array
String--
- Program to Concatenate Two Strings using strcat( )
- Program to Concatenate Two Strings without using strcat( )
- Program to Compare Two Strings using strcmp( )
- Program to Compare Two Strings without using strcmp( )
- Program to Copy String using strcpy( )
- Program to Copy String without using strcpy( )
- Program to Find Length of a String using strlen( )
- Program to Reverse a String using strrev( )
- Program to Reverse a String without using strrev( )
- Program to Input-Output Strings using Character Functions
- Program to Input-Output Strings using gets( ) and puts( )
- Program to Input-Output Strings using printf( ) and scanf( )
- Program to Find Length of a String Without using strlen( )
- Program to Find Whether a String is Palindrome or Not
- java charAt() mehod or extract a particular position character from String
- Program to Find Whether a String is Palindrome or Not without using String Functions
File Handling
- Program to Copy Contents of One File to Another
- Program to Print a File and Count Number of Characters
- Program to Print a File and Count Number of words
- Program to Print a File and Count Number of lines
Matrix
1. Sum of Individual Rows and Columns of a Matrix
2. Program to find Sum of Diagonals in a Matrix
3. Program to perform matrix Multiplication
4. Program to perform transpose of a matrix
5. Program to Display numbers divisible by 10 in a Matrix
6. Program to find Sum of numbers divisible 2 or 3 in a Matrix
7. Program to display Both Diagonal elements of a Matrix
For Example:
Matrix: 1 2 3
4 5 6
7 8 9
Diagonal 1: 1 5 9
Diagonal 2: 3 5 7
8. Program to Display Lower triangle of a Matrix
For Example:
Input: 1 2 3 Output: 1
4 5 6 4 5
7 8 9 7 8 9
9. Program to Display Upper triangle of a Matrix
For Example:
Input: 1 2 3 Output: 1 2 3
4 5 6 5 6
7 8 9 9
10. Program to display Matrix with elements numbered with row < column else "0"
For Example:
Output: 1 0 0 0
1 2 0 0
1 2 3 0
1 2 3 4
Structure
- Example on Structure
- Program to illustrate returning structure from function
- Program to pass entire Structure from an Array
- Program for passing individual structure members through Function
- Program to illustrate Array of Structure
- Program to illustrate Nested Structure
- Program to Implement Structure with Array
- Program to Implement Structure with Function
- Program to Implement Structure with Pointers
Class
1. Example on Class
2. Friend Function Example
3. Example 1 on Class
4. Example 2 on Class
Constructor and Destructor
1. Constructor and Destructor Example
Inheritance
1. Inheritance with same Function name in Base and Derived Class
2. Inheritance: Virtual Base Class Example
File Handling
1. File Handling: Copy entire contents of a file into another
2. File Handling: Searching a telephone number from a file
Stack and Queue
1. Stack: Implemented using Array
2. Queue: Implemented using Array
3. Circular Queue: Implemented using Array
Linked List
1. Stack: Implemented using Linked List
2. Queue: Implemented using Linked List
3. Circular Queue: Implemented using Linked List
0 comments:
Post a Comment