Pages

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

Saturday, 20 April 2013

#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();
}

 

Search Box

Most Reading

Contact Form

Name

Email *

Message *