What linkage specifier do you use in order to cause your C++ functions to have C linkage
Correct Answer: extern "C"
Explanation:
Note: This Question is unanswered, help us to find answer for this one
C++ Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More C++ MCQ Questions
Consider the following code: #include int main(int argc, char* argv[]) { enum Colors { red, blue, white = 5, yellow, green, pink }; Colors color = green; printf('%d', color); return 0; } What will be the output when the above code is compiled and executed?
Which statement is true for operator overloading in C++?
Answer the question that follows. class Person { string name; int age; Person *spouse; public: Person(string sName); Person(string sName, int nAge); Person(const Person& p); Copy(Person *p); Copy(const Person &p); SetSpouse(Person *s); }; Which one of the following are declarations for a copy constructor?
Which statement about function overloading, is true?
In C++, the keyword auto can be used for:
In c++, virtual functions are declared using the reserved word ____.
In c++, the scope resolution operator is ____.
In c++, the null character is represented as ____.
In c++, the ____ symbol is an operator, called the member access operator.
In c++, ____ is called the address of operator.