TCS C++ General Interview Questions
Below are TCS C++ General Interview Questions asked in TCS Interview:
1. What is the difference between C and C++?
2. What are classes and objects in C++?
3. What are access modifiers?
4. Difference between equal to (==) and assignment operator(=)?
5. What is the difference between a while loop and a do-while loop?
6. What is the size of the int data type?
7. Which among the following operators cannot be overloaded?
8. What among these is used to return the number of characters in the string?
9. Discuss the difference between prefix and postfix?
10. Can you compile a program without the main function?
Please post more questions and answers in comments section.
No comments:
Post a Comment