Question 1: How is C different from C++? Answer: C++ can be said to be a superset of C. Major added features in C++ are Object-Oriented Programming, Exception Handling and rich C++ Library. Learn about more differences and similarities between C and C++ from here. Question 2: What is a static variable? Answer: Static variables have a property of preserving their value even after they are out of their scope! Hence, static variables preserve their previous value in their previous scope and are not initialized again in the new scope. Question 3: Are Variables in C static or Dynamic scoped? Answer: Variables in C are always statically scoped. Visit How are variables scoped in C – Static or Dynamic? to learn more. Question 4: Explain the four storage classes in C?
Tcs Interview Questions
1,576 tcs interview questions shared by candidates
Code for using array. Basic sql queries
How do you see yourself in 5 years?
Intro Projects Basic coding question Tech stack like ML AI etc.
Questions are mostly based on resume
How Phone pe works in the back end? Machine learning algorithms
Introduction followed by project , oops , dbms
About Projects and coding and Communication
For Digital: Technical: 1. Example of Load Balancer 2. Difference b/w Switch and Hub 3. MongoDB vs My SQL 4. Virtual Function 5. What is recursion. 6. Write a code of factorial of a number using function Managerial: 1. Brief about Project. 2. How you can achieve more accuracy? 3. Future aspect of that project. HR: 1. Strength 2. Weeknesse 3. Night shift availability 4. Hobby
In the Technical Round, the interviewer was friendly and began by asking me to briefly explain my final year project — its objective, tech stack, and how I contributed. I was then asked core CS questions including: Concepts of OOPs like inheritance, polymorphism, abstraction, and encapsulation. Inline functions: what they are and their purpose in C++. A simple coding question to swap two variables without using a third variable. The questions were conceptual and tested my understanding rather than just memory.
Viewing 991 - 1000 interview questions