This code attempts to fuse two strings together. So,
fuse("Apple", "Banana")
would return "ABpapnlaen a"
However, there are a couple of things wrong with this code:
- The for loop is incomplete (probably a copy paste error)
- It is unclear from the code if the array jawaban will overflow if kata1 and kata2 are large (it probably will)
- Biggest problem: the jawaban array is declared on the stack, which means it will be cleaned up when the function returns. So the caller of this function will reference unallocated memory! This is a huge bug!!
Answer:
C) Plan, write, format, and proofread
Explanation:
You need a plan for any professional newspaper. Proofreading is also a vital step in the process. You can only format what you've already written, so it has to be C.
In a problem-solving process occurring inside a group, (C) develop creative solutions would be where the members combine and elaborate on ideas.
Brainstorming would be a prominent feature during this process since group members would be encouraged to state her or his opinion and solutions about the problem that the group needs to solve.