Function Programs
Sr. No. | Program Definition |
|
with return
value, without argument .. addition of
two number |
|
|
With return
value, with argument: multiplication of three numbers |
Function Programs
Sr. No. | Program Definition |
|
with return
value, without argument .. addition of
two number |
|
|
With return
value, with argument: multiplication of three numbers |
#include<stdio.h>
#include<conio.h>
typedef int shubham;
typedef float muskan;
void main()
{
shubham i;
muskan j;
clrscr();
printf("\nSize of interger is %d", sizeof(i));
printf("\nSize of float is %d", sizeof(j));
printf("\nSize of charcter is %d", sizeof(char));
getch();
}
/*
Output:
Size of interger is 2
Size of float is 4
Size of charcter is 1
*/
Sorting Programs
|
Sr. No. |
Pattern |
|
2 |
Implement selection sort in C. |
|
3 |
Implement insertion sort in C. |
|
4 |
Implement merge sort in C. |
|
5 |
Implement quick sort in C. |