Telecommunications Question:

Memory allocation of variables declared in a program is?
a) allocated in RAM.
b) allocated in ROM.
c) allocated on stack.
d) assigned to registers.

Tweet Share WhatsApp

Answers:

Answer #1a)allocated in RAM.

stack memory is used at the time of dynamic memory allocation
ex:- malloc();

Answer #2Dynamic memory allocation is carried out in the heap, which is RAM. Static memory allocation is carried out in the stack.

Download Telecommunications PDF Read All 24 Telecommunications Questions
Previous QuestionNext Question
A 2MB PCM(pulse code modulation) has?
a) 32 channels
b) 30 voice channels & 1 signaling channel.
c) 31 voice channels & 1 signaling channel.
d) 32 channels out of which 30 voice channels, 1 signaling channel, & 1 synchronization channel.
What is TCSM ?