Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
strcat
//Title of this code //g++ 4.8.2 #include <stdio.h> void strcat(char *s, char *t) {char *p=t;int i=10; while(*s!='\0')s++; //printf("%d",s-p); i=s; while((*s++ = *p++)!='\0' );//{*s = *p;s++;} //for(int i=0;i<strlen(s);i++) printf("%c \n",*s); } //printf("%d \n",s); int main() { //int *ip,a=3,b[10]={1,2,3,4,5,6}; char c[100] ="mamaare mere";//new char[20]; char c1[] ="wwwert";//new char[20]; strcat(c,c1); // c[0]='b'; puts(c); // memcpy(c,"sirdecara", 20); // char *s= new char[20]; // memcpy(s,"lbirdecaph", 20); // c1 // cout<< strcmp(c,c1); //printf("%d \n",strcmp(c,c1)); for(int i=0;i<strlen(c);i++) printf("%c ",c[i]); }
run
|
edit
|
history
|
help
0
Finding the second largets value v0.5
string_ptr_to_fct_param_v2
Q1.c
Max successs
Null deref
ele888 lab1 run - graphs
bitwise operations
20171117_PITAGORAS
función malloc()
funciones serie de taylor