This file contains hidden or 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.h> | |
#include<conio.h> | |
class aho{ | |
public: | |
insert(char str1[],char str2[],char str3[]) | |
{ | |
int r =0,i=0; | |
char res[100]; | |
for( i=0;str1[i]!='\0';i++, r++) | |
res[r]=str1[i]; |
This file contains hidden or 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.h> | |
#include<conio.h> | |
class Temp{ | |
public: | |
Fact() | |
{ | |
int num,fact=1; | |
cout<<"Enter the number to find out Factorial! "; | |
cin>>num; | |
for(int i=num;i>0;i--) |