Here is the right program
#include <iostream>
#include <cstring>
using namespace std;
void enter();// here is error
char * return1( char * );//here is error too when char function returns then char function
//always return by pointer and parameter also take the argument by pointer
int main(void)
{
const int size = 14;
char n [size];
enter();
cin >> n;
cout << "the char variable : " << n << endl;
cout << "Function return is below : " << endl;
cout << return1(n) << endl;
system("pause");
return 0;
}