cswork / OAOpen practice workspace

PaycomOA #12

Q12. Print Char Arrays (C)

Estimated EasyConcept questionStatement and editorial — judging is being prepared

Topics (AI-labelled)Strings

main() {
 char str1[] = "Hello";
 char str2[] = "World";
 str1 = str2;
 printf("%s %s", str1, str2);
}
  • Compiler error <-
  • Hello World / World Hello / World World

Editorial

Loading solution…