Saturday, July 27, 2019

String in strcat() function

String in strcat() function:


String in strcat() function


#include<stdio.h>
#include<conio.h>
#include<string.h>
void main()
{
char a[]="this is", b[]="cprograms";
clrscr();

strcat(a,b);

puts(a);
puts(b);

getch();
}

Output:





EmoticonEmoticon

:)
:(
hihi
:-)
:D
=D
:-d
;(
;-(
@-)
:o
:>)
(o)
:p
:-?
(p)
:-s
8-)
:-t
:-b
b-(
(y)
x-)
(h)