#include #include void main() { clrscr(); int size, arr[50], i, ...
Home/
Jyotika Sharma/Posts
Discy Latest Articles
Write a program to generate Fibonacci series with the help of recursion.
Jyotika Sharma#include #include int recfib(int n) { if(n==1) { return 0; ...
Write a program to implement the concept of pointer to array access in functions.
Jyotika Sharma#include #include main() { int *p,i,n; void modify(int *,int); clrscr(); ...
/Wrtite a program to sort elements of given array having ‘n’ numbers of elements, using Insertion sort
Jyotika Sharma#include #include main() { int a[100]; int i,n,temp,j,k; clrscr(); cout<>n; ...
Write a program to search an element of choice from the array having ‘n’ number of element, using Linear Search.
Jyotika Sharma#include #include main() { int a[100],i,n,search; cout<>n; cout<<"n enter elements ...
Write a program to sort elements of given array having ‘n’ number of elements,using Merge Sort.
Jyotika Sharma#include #include main() { int a[50],c[100],n,i; void merge(int *,int,int); void ...
Program to built matrix with the use of new and delete operator.
Jyotika Sharma#include #include main() { int (*pa)[4]=new int [3][4]; int *pn=new ...
Program to show fibonacci series by overloading unary operator.
Jyotika Sharma#include #include class fibn { private: int f0,f1,fib; public: fibn(); ...
Program to enter the n number of records of the students into the file with the concept of structure concept
Jyotika Sharma#include #include #include int const max =100; struct student_info { ...
Program to implement the concept of pure virtual function.
Jyotika Sharma#include #include class base { private : int x ; ...