Page 1 of 1

Write a C program which does the following: One example output is shown below. The output of your program should have th

Posted: Sat May 14, 2022 3:32 pm
by answerhappygod
Write a C program which does the following:
One example output is shown below. The output of your program
should have the same format. Given
that str1 is "I_like_"
and str2 is "C_Programs!"
Please do not change the provided code.
N.B. The solution will fail if the C compiler generates any
warnings. So please check before answering that no warnings are
created.
For example:
code
#include <stdio.h>
#include <string.h>
int main(void)
{
char str1[40];
char str2[40];

scanf("%s", str1);
scanf("%s", str2);

//type your code here

return 0;
}