Q. Which of the following is the correct way to define a function with a deleted definition in C++?
β
Correct Answer: (A)
void myFunction() = delete;
Explanation: The correct way to define a function with a deleted definition is 'void myFunction() = delete;'.