Write a program to take any five characters from the key board using getch() function and display it using putch().
#include <conio.h>
int main()
{
char input[5];
for (int i = 0; i < 5; ++i)
& input[i] = getch();
for (int i = 0; i < 5; ++i)
& putch(input[i]);
return 0;
}