πŸ“Š C Programming
Q. Which is the correct syntax to declare a pointer to an int?
  • (A) int ptr;
  • (B) int *ptr;
  • (C) *int ptr;
  • (D) pointer int ptr;
πŸ’¬ Discuss
βœ… Correct Answer: (B) int *ptr;

Explanation: int *ptr declares a pointer to an integer.

Explanation by: Mr. Dubey
int *ptr declares a pointer to an integer.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
63
Total Visits
πŸ“½οΈ
9 mo ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
85%
Success Rate