This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <stdio.h> | |
#include <string.h> | |
using namespace std; | |
void RevString(char a[]); | |
int main(void) | |
{ | |
char arr[100]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include<iostream> | |
using namespace std; | |
int multi(int n, int m); | |
int main(void) | |
{ | |
int x,y; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int fib(int n); | |
int main(void) | |
{ | |
int x; | |
cout<<"Enter x\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
void BubbleSort(int b[], int s); | |
int BinarySearch(int c[], int ky); | |
int main(void) | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class CLASSONE | |
{ | |
public: | |
void LinearSearch(int a[],int key,int size) | |
{ | |
int i,counter =0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
class CLASSONE | |
{ | |
public: | |
void remDup(int a[],int size) | |
{ | |
int i , j , k; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main(void) | |
{ | |
int tcn=0,sum[10],sm=0,i=0,j=0,k=0,no=0,a[100000]; | |
//No. of tc; | |
do{ | |
cin>>tcn; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*Passing Results of one function to another function | |
It is easy... Damn, I dont i Tinker with my code more often | |
I only realised this after doing Python course on Codecadmy | |
*/ | |
#include <iostream> | |
using namespace std; | |
int add_Number(int a , int b) | |
{ |
OlderNewer