Posts

Top 50 TCS Interview Questions & Answers

Top 50 TCS Interview Questions & Answers(Technical Round)   1. What is your strongest programming language (Java, ASP, C, C++, VB, HTML, C#, etc.)? Important point: Before the interview, you should decide your Favorite programming language and be prepared based on that question. 2. What is friend function? A friend function for a class is used in object-oriented programming to allow access to public, private, or protected data in the class from the outside. Normally, a function that is not a member of a class cannot access such information; neither can an external class. Occasionally, such access will be advantageous for the programmer. Under these circumstances, the function or external class can be declared as a friend of the class using the friend keyword. 3. What is the difference between an array and a list? The array is a collection of homogeneous elements. A list is a collection of heterogeneous elements. For Array memory allocated is static and continuous. For List m...