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. selection list.
Explanation:
A selection list is created using the select and option elements that present users with a group of predefined possible values for the data field.
In Computer programming, the selection list is used to avail the end users with the ability to engage in an operation such as a predefined possible values for the data field.
Commenting. When someone comments of a blog the blog's writer can comment back, to answer questions, etc.
Answer:
acceleration = 4.76 m/s²
Explanation:
Given that"
the mass of the dynamic trolley = 0.6 kg
the mass of the load = 1.5 kg
total mass = (0.6 + 1.5) kg = 2.1 kg
the force = 10 N
Thus;
using the formula of force which is;
Force = mass × acceleration
10 = 2.1 × acceleration
acceleration = 10/2.1
acceleration = 4.76 m/s²