the program must accept a string value and print it twice ex: input = bars output = barsbars | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

the program must accept a string value and print it twice ex: input = bars output = barsbars

28th Jan 2019, 2:43 PM
Nikash
2 Respuestas
0
#include <stdio.h> #include <string.h> int main() { char str1, str2, n; scanf("%s %s",&str1,&str2); strcat n = str1+str2; printf("%s" ,n); } this program I tried if any mistake in that kindly note it and post your answers.
28th Jan 2019, 2:48 PM
Nikash
0
Anna pls tell this
3rd Feb 2019, 9:13 AM
Nikash