Write any small program that will compile in "C" but not
in "C++"
Answer Posted / sauarv
answer no.. 6 is the most correct solution
as the class is a keyword in c++
but for answer 9 ,,ur prediction is correct that it will give error in c++ ,,although ur reason is not right
printf n csanf are not c specific
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work
What are multiple inheritances (virtual inheritance)? What are its advantages and disadvantages?
Briefly describe a B+ tree. What is bulk loading in it?
What happens when you make call 'delete this;'?
Why is c++ not purely object oriented?
What is a unnitialised pointer?
How do I exit turbo c++?
How to declare a pointer to an array of integers?
How do I start a c++ project?
What will strcmp("Astring", "Astring"); return a) A positive value b) A negative value c) Zero
What is the latest c++ version?
What is an arraylist c++?
what is data abstraction in C++?
Why c++ is not a pure oop language?
Difference between pointer to constant vs. Pointer constant