Note: We need an author for this blog. Willing people contact Us......

Thursday, 17 November 2016

Dev C++ programming with example

# include<iostream>
using namespace std;

void display(char []);
void display(char [],char []);

int main ()
{
char first[] = "I have done recursion";

char second[] = " also over loading";
display(first);
display(first,second);
return 0;
}
void display(char s[])
{
cout<<s<<endl;

}
void display(char s[],char t[])
{
cout<<s<<endl<<t<<endl;
}

No comments:

Post a Comment

Contact us

Name

Email *

Message *