Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <string.h>
- using namespace std;
- int main(){
- // Copy the second parameter for the first!
- char pointer1[25];
- strcpy(pointer1,"");
- int tmLetra = strlen(pointer);
- //Concatena the first parameter witch the second!
- char n1 [] = "A" ;
- char n2 [] = "B" ;
- char *p = strcat(n1,n2);
- for(int i=0;i<1;i++)
- cout<<p+i<<"\n";
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement