Write a program to pass a string to function that display the string on the screen

4/20/2013 01:00:00 pm Unknown 0 Comments

#include <stdio.h>

#include <conio.h>
#include <string.h>
char* display(char *string)
{
     int i=0;
     char ch;
     printf("%s", string);
}
main()
{
      char str[]="I Like C!";
      display(str);
      getch();
}