C/C++

C/ CPP programms

LINKED LIST OPERTION IN C++

SOURCE CODE : //programed by Paras Wadher MCA Nagpur university //PROGRAM TO PERFORM LINKED LIST OPERTION. #include<stdio.h> #include<iostream.h> #include<alloc.h> #include<malloc.h> #include<math.h> #include<conio.h> #include<process.h> #define NewNode (Node *) malloc (sizeof(Node)) typedef struct node { int item; struct node *next; }Node; Node *create(Node *); void display(Node *); int count(Node *); Node *insert(Node *); Node *del(Node *); void …

LINKED LIST OPERTION IN C++ Read More »

Fibonaccie series using Recursion function In c++

SOURCE CODE : //programed by Paras Wadher MCA Nagpur university /* Program to print Fibonaccie series using Recursion function*/ # include<iostream.h> #include<conio.h> int fib(int n); void main() { clrscr(); int n,i; cout<<“Enter the no. of terms\n”; cin>>n; cout<<“Fibonacci Series”; for(i=1;i<=n;i++) cout<<” “<<fib(i); getch(); } int fib(int n) { int x,y; if(n<=1) return(n); x=fib(n-1); y=fib(n-2); return(x+y); …

Fibonaccie series using Recursion function In c++ Read More »

CONCAT PROGRAM IN C++ FOR MCA

SOURCE CODE : //programed by Paras Wadher MCA Nagpur university //PROGRAM FOR CONCAT In C++ #include<stdio.h> #include<process.h> #include<conio.h> #include<alloc.h> #define NewNode (Node*)malloc(sizeof(Node)) typedef struct node { int item; struct node *next; }Node; Node *Create(Node *); void concat(Node *, Node *); void main() { Node *start1=NULL,*start2=NULL; int ch,cnt; clrscr(); printf(“TO Stop entering data enter -99\n”); start1=Create(start1); …

CONCAT PROGRAM IN C++ FOR MCA Read More »

binary search Program in c++ for MCA

SOURCE CODE : //programed by Paras Wadher MCA Nagpur university //Program for searching any element using binary search. #include #include class binsearch { public: void binary_search(int,int,int *); void sorting(int *,int); void display(int *,int); }; void binsearch::binary_search(int element,int n,int l[]) { int flag=1; int low,mid,high; low=0; high=n-1; while(low<=high) { mid=(low+high)/2; if(element { high=mid-1; } else { …

binary search Program in c++ for MCA Read More »

Intel core i7 means ?

Intel Pentium is now officially retired, as “core 2 Duo,” which pushed down by ” core i7 Intel nehalem ” some of its previous generations are given below : 1st gen architecture = 8086 2nd gen architecture = 286 3rd gen architecture = 386 4th gen architecture = 486 5th gen architecture = P5 (Pentium) …

Intel core i7 means ? Read More »