Single Choice Not Set

QIf an array is declared as arr[] = {1,3,5,7,9}; then what is the value of sizeof(arr[3]) ?

ID: #2717 Array MCQ 22,957 views
Question Info
#2717Q ID
Not SetDifficulty
Array MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 1 ✔ ✖
  • B 2 ✔ ✖
  • C 3 ✔ ✖
  • D 8 ✔ ✖
Correct Answer

Explanation

Answer: 2

sizeof(arr[3]) --> this will find the size of the index 3 elements only

Share This Question

Challenge a friend or share with your study group.