πŸ“Š C Programming
Q. Which of the following is the correct way to declare a pointer in C?
  • (A) int ptr;
  • (B) int *ptr;
  • (C) pointer ptr;
  • (D) 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

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