Single Choice Easy

QWhat is the difference between a pointer and a regular variable in C?

ID: #7190 Pointer in C Language 234 views
Question Info
#7190Q ID
EasyDifficulty
Pointer in C LanguageTopic

Choose the Best Option

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

  • A A pointer can be dereferenced to access its value
  • B A regular variable cannot be passed to a function
  • C A pointer can only store integer values
  • D A regular variable does not require initialization
Correct Answer

Explanation

Answer: A

Explanation: A pointer allows you to indirectly access the value of a variable by dereferencing the pointer with the * operator. A regular variable can be accessed directly with its identifier.

Share This Question

Challenge a friend or share with your study group.