Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 9 > lesson 2 in c

please help me to solve..
by

4 Answers

sam5epi0l
Here is a possible solution:


#include <stdio.h>
int main() {
char st[12] = "Studytonight";
char frv[7] = "Forever";
printf("%s %s", st, frv);
return 0;
}
aditi2005
Thank you for the solution but this code is not giving desired output.
sam5epi0l
Try with this code:

#include <stdio.h>
int main() {
char st[13] = "Studytonight";
char frv[8] = "Forever";
printf("%s %s", st, frv);
return 0;
}
aditi2005
code is working and submitted successfully. Thank you.

Login / Signup to Answer the Question.