arrays and pointers

mcqspedia.com has 3 Question/Answers about Topic arrays and pointers

To set array[i] to 0, we must first get its address, start by multiplying i with

To set array[i] to 0, we must first get its address, start by multiplying i with
  • B. 1
  • C. 2
  • D. 4
  • Correct Answer: Option D

In instruction addi $t0,$t0,4 , I is for adding

In instruction addi $t0,$t0,4 , I is for adding
  • A. Immediate value
  • B. Constant
  • C. Register
  • D. both a and b
  • Correct Answer: Option D

Pointer of stack, is always set to

Pointer of stack, is always set to
  • A. First position of array
  • B. Second position of array
  • C. Third position of array
  • D. Forth position of array
  • Correct Answer: Option A