Domanda di colloquio di NVIDIA

using malloc, implement malloc16 which returns addresses that are multiples of 16.

Risposta di colloquio

Anonimo

27 feb 2025

allocating extra space and then checking the remainder of the allocated address to return the new address shifted to a 16 multiple