Under call by value, what remains unchanged in the scope of the caller?
AHeap allocations
BReturn variables
CPassed arguments
DCPU registers
Answer & Solution
Correct answer: C. Passed arguments
In call by value, caller variables passed into the routine remain unchanged upon return.
Keep practising User-Defined Methods and Constructors
Browse all User-Defined Methods and Constructors questions for ICSE Class 10, or explore more Computer Applications topics.
Related questions
Match ctor timing:
1. Load: p. Once run
2. Inst: q. Every new
3. Call: r. On demandMatch singleton cues:
1. Priv: p. Hide ctor
2. One: q. Shared inst
3. Get: r. Factory funMatch overload ties:
1. Exact: p. High rank
2. Widen: q. Promotion
3. Amb: r. Compile errMatch copy traits:
1. Param: p. Same type
2. Hand: q. Code copy
3. Auto: r. No defaultMatch bad ctors:
1. Return: p. Has type
2. Loop: q. Self chain
3. Mod: r. Non-accessMatch memory steps:
1. Zero: p. Clear mem
2. Field: q. Set value
3. Ctor: r. Body logicMatch hierarchy ctors:
1. Base: p. Parent run
2. Top: q. Root Object
3. Auto: r. ImplicitMatch chaining rules:
1. This: p. Peer ctor
2. Line: q. First line
3. Cycle: r. Forbidden