daily pastebin goal
5%
SHARE
TWEET

Untitled

a guest Oct 11th, 2018 71 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1. /*strcpy gerçlekler örneğin;
  2. kelime1: esra
  3. kelime2:zengin
  4. esra zengin
  5. çıktısını üretir.*/
  6. #include <stdio.h>
  7. #include <string.h>
  8.  
  9. int main(){
  10.     char  a[1000],b[1000];
  11.     int i=0,k,l;
  12.     printf ("kelime 1:");
  13.     scanf("%s",a);
  14.     printf("kelime 2:");
  15.     scanf("%s", b);
  16.     k=strlen(a);
  17.     l=strlen(b);
  18.     a[k]=' ';
  19.     while(i<=l){
  20.         a[k+1]=b[i];
  21.         k++;
  22.         i++;}
  23.     puts(a);
  24.     getchar();
  25.     return 0;
  26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top