#include <stdio.h> #include <string.h> int main() { char source[1000], destination[1000]; printf("Input a string\n"); gets(source); strcpy(destination, source); printf("Source string: %s\n", source); printf("Destination string: %s\n", destination); return 0; }
otput:
input the string
oh boy
"oh boy"
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
otput:
input the string
oh boy
"oh boy"
"oh boy"
need an explanation for this answer? contact us directly to get an explanation for this answer