Which of the following gives the memory address of the first element in array arr, an array with 100 elements?

Which of the following gives the memory address of the first element in array arr, an array with 100 elements?

A.  arr[0];

B. arr;

C. &arr;

D. arr[1];

Hướng dẫn

Chọn B là đáp án đúng

Tags:

Which of the following gives the memory address of a variable pointed to by pointer a?

Which of the following gives the memory address of a variable pointed to by pointer a?

A. a;

B. *a;

C. &a;

D. address(a);

Hướng dẫn

Chọn A là đáp án đúng

Tags:

 Which of the following gives the memory address of integer variable a?

 Which of the following gives the memory address of integer variable a?

A. *a;

B. a;

C. &a;

D. address(a);

Hướng dẫn

Chọn C là đáp án đúng

Tags: