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;
}
Write a C program which does the following: One example output is shown below. The output of your program should have th
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a C program which does the following: One example output is shown below. The output of your program should have th
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!