Tahheuend
Thatgeheh
Thahyateg
Fascinating
:)
Answer:
c. double triple(float n) { return (3 * n); }
Explanation:
In option a print is used to print integer.While printf is used in C to print something.
In option b there is no * operator between s s s it should be s*s*s.So it will give error.
In option d there is also no multiply operator * in between 3.14 2 r it should be 3.14*2*r.
So we can say that option c is error free.
Answer:
Number of feet in a mile
Explanation:
In this problem, we need to find an option that to be created as a constant variable.
In option (a) "number of feet in a mile".
As 1 mile = 5280 foot
The number of feet in a mile is constant in every condition.
In option (b), (c) and (d)
number of people inside a store
, current grade in a class
, score in a football game are no fixed. It is not created as a constant variable.
Hence, the correct option is (a).
Answer:
best-fit
Explanation:
Best-fit: Closest in size to the request: In the Dynamic Partitioning technique of memory management, the placement algorithm that scans memory from the location of the last placement and chooses the next available block that is large enough to satisfy the request