Q. Choose correct statement about C array pointers.

  • (A) You can compare two array elements with *p == *(p+i)
  • (B) You can compare two pointers with p1==p2.
  • (C) Accessing out of bounds index element is valid and it returns a garbage value.
  • (D) All of the above
πŸ’¬ Discuss
βœ… Correct Answer: (D) All of the above

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
201
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Ram Sharma
Publisher
πŸ“ˆ
81%
Success Rate