Q. Which of the following will occur if we call the free() function on a NULL pointer?

  • (A) Compilation Error.
  • (B) Runtime Error.
  • (C) Undefined Behaviour.
  • (D) The program will execute normally.
πŸ’¬ Discuss
βœ… Correct Answer: (D) The program will execute normally.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
602
Total Visits
πŸ“½οΈ
4 y ago
Published
πŸŽ–οΈ
Manisha Agrawal
Publisher
πŸ“ˆ
82%
Success Rate