NVIDIA interview question

Two ways to assign memory for array in C.

Interview Answer

Anonymous

27 Sept 2011

malloc to assign on heap and direct declaration to assign on stack.

1