EmbLogic's Blog

head 1.1;
access;
symbols;
locks; strict;
comment @ * @;

1.1
date 2014.03.11.10.27.11; author root; state Exp;
branches;
next ;

desc
@this is the program of function in which we have to enter two string.
@

1.1
log
@Initial revision
@
text
@#include
#include
#include
int input(char* ,char*);
//int findpos(int *);
int main()
{
char *p1,*p2;
input (p1,p2);
return 0;
}
int input(char *x, char *y)
{
x=(char *)malloc(20);
y=(char *)malloc(20);
printf(“enter the first string\n”);
gets(x);
printf(“enter the second string”);
gets(y);
return 0;
}
//int findpos (char *a,char *b, char *c)

@

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>