Let us C
Programs of C language.
The later programs will consist of some advance concepts like loops,functions,arrays,strings,structure,pointers,file handling etc.
Hello World.
Temperature Conversion.
Addition of two numbers.
Area and circumference
Simple Intrest
Sum and percentage.
Swaping of two numbers.
Reversing 3 digit number.
Gross Salary.
Shift Operator.
Switch case.
Switch case:1.
For loop.
Star Pattern:1.
Star Pattern:2.
Star Pattern:3.
Fibonacci Sequence.
Factorial of a number.
Prime number detection.
Series printing.
Special series case.
Bitwise operator.
Pointers.
Sum of arrays.
Maximum number.
Matrix Printing.
Sum of matrices.
Substraction os Matrices.
Transpose of a matrix.
Maximum Number in a matrix.
String.
Functions.
Functions:1.
Factorial using function.
Table using function.
Call by value.
Call by reference.
Largest value by function.
Recurssion.
String:Palindrome.
File operations.
Advanced:1.
Advanced:2.
Advanced:3.
Advanced:4.
An overview of C++
Object oriented approach of C++.
Here are some of the examples where most of the basic concepts are covered through programs.
Hello World.
Printing integer.
Multiple operations.
Commenting.
Function call.
Addition.
Sizeof operator.
Calculation of area.
Seaching small number.
ASCII code.
Enum.
Complex numbers.
Difference.
Prefix and Suffix.
Relational operator.
If else statement.
Nested if-else.
Comparision.
Conditional operator.
Function-area.
Passing parameters.
Global and local variables.
Passing by value.
Multiple return statements.
Default parameter values.
Function polymorphism.
Inline Function.
Recurssion.
public members.
Simple class.
Constructors.
Interfaceing.
Cat class declaration.
Cat implementation.
Declaration of complete class.
Advanced:1
Goto.
While loops.
Advanced:2.
Break and continue.
Counter.
Skipping body of while loop.
do-while loop.
while re-examined.
Advanced:3.
Null statement.
Empty for loop statements.
Nested for loops.
Iteration.
Switch.
. pointer-array
End of array.
Enum-array.
Object-array.
Advanced:4.
Pointers.
Data pointers.
Advanced:5.
Advanced:6.
Advanced:7.
HAVE FUN...!!