Question: What is the difference between delete and delete[] in C++?
Options
A : delete is used to delete normal objects whereas delete[] is used to pointer objects
B : delete is a keyword whereas delete[] is an identifier
C : delete is used to delete single object whereas delete[] is used to multiple(array/pointer of) objects
D : delete is syntactically correct but delete[] is wrong and hence will give an error if used in any case
Cplusplus Programming Oops Concept 4 more questions
Choose the statements which makes delegate in C#.NET different from....
It actually infects your device easily & makes it hard....
Which of the following is not a CLI command?
To delete a database ___________ command is used
If a person all the people in Music department gets....
You are given pointers to first and last nodes of....
________________ important and precious file is a solution to prevent....
Trojans do not do one of the following. What is....
Transorthogonal code is obtained by
Intercalary aberrations are a part of which of the following?
Chemical Engineering Basics - Part 1 more Online Exam Quiz
Cplusplus Programming More Containers
Cplusplus Programming Namespaces 2
Cplusplus Programming Objective
Cplusplus Programming Oops Concept 1
Cplusplus Programming Oops Concept 2
Cplusplus Programming Operator Overloading 1
Cplusplus Programming Operator Overloading 2
C Plus Plus Programming Pointer To Void
Cplusplus Programming Question Papers
Cplusplus Programming Questions And Answers Associative Containers