Answer: It can include string data.
It can include bool data.
It can include numeric data.
Explanation:
I’m on this assignment too :) Good luck & correct me if I’m wrong thank you!
B.) Make sure protocols are in place and are being followed.
Good luck, hope this helps! (:
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!!