MCQ Buddy
Search here...
  • Home
  • MCQ Feed
  • Add Question
  • Programming Portal
  • English Portal
  • Login
  1. Home
  2. Engineering
  3. CPP Programming
  4. Question

M

Mr. Dubey • 97.30K Points
Coach

Q. Is it fine to call delete twice for a pointer?
#include<iostream>
using namespace std;
int main()
{
int *ptr = new int;
delete ptr;
delete ptr;
return 0;
}

  • (A) Yes
  • (B) No
  • (C) none
  • (D) all
  • Correct Answer - Option(B)
  • Views: 522
  • Filed under category CPP Programming
Share

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.

Related MCQs

Q. Accessing Wi-Fi dishonestly is a cyber-crime.

Q. The technique or method to absorb undesirable sounds by soft and porous

Q. Which operator is having the highest precedence?

Q. Factory to use our Spring bean as the implementation:-

Q. General-purpose class that allows a response to be rendered using a marshaller.

Q. Mini computers and micro computers are from which generation of computers?

Q. The minimum number of page frames that must be allocated to a running process in a virtual memory environment is determined by

Q. The content of the matrix Need is

Q. The Pareto Chart is a bar chart that allows for analysis of data in search of the Pareto Principle or the _______________________

Q. Which of the following is the Universal Flip-flop?


Question analytics

Share

Embed

WhatsApp

Facebook

Telegram

Share in MCQ Buddy Groups

Share
Embed
Important Links
  • Browse All Categories
  • Subjects
  • Exams
  • Mock Test
  • Advance Search
  • Quiz
  • Duo Test
  • English Topics
Explore More Portals
  • Hindi
  • State wise Portals
  • MCQ Buddy Lab
  • Engineering
  • Programming Portal
  • MB Shorts
  • NCERT Portal
  • Faculties Portal
  • Groups
  • Q & A
  • Spaces
  • Satya Sanatan
  • Keycrypt
Who we are?

We are nothing if we are alone. But we have a huge community of students who are helping you getting good study stuff free.

More Links
  • Download App
  • Advertise with us
  • Contact us
  • Youtube
  • Terms & Conditions
  • Refund Policy
  • Privacy Policy

Since 2020 - 2025 | Proudly Made with ♥ in India

Hosted on Hostinger