Search Box

Tech Mahindra C/C++/JAVA Interview Questions

Tech Mahindra C/C++/JAVA Interview Questions
Tech Mahindra C/C++/JAVA Interview Questions

  1. What is static memory allocation and dynamic memory allocation?  
  2. What is modular programming? 
  3. What are templates in C++?  
  4. What is the difference between macro and inline? 
  5. Why do we use file handling?
  6. What is spanning tree?
  7. Explain traveling salesman problem?
  8. What is the difference between BFS and DFS?
  9. Write down the prim’s algorithm?
  10. What is JVM? What is its use?
  11. How to do memory management in JAVA?
  12. Why are constructors and destructors used?
  13. What is the meaning of immutable in terms of String? 
  14. What is difference between throw and throws?
  15. What is the base class for Error and Exception? 
  16. What about the daemon threads?
  17. What is JIT compiler? 
  18. What is dangling pointer? 
  19. How the overriding is different than overloading? 
  20. Give uses of scope resolution operator ( :: ) in C++ 
  21. What is the difference between "printf(...)" and "sprintf(...)"?  
  22. What is a null pointer? 









Tech Mahindra C/C++/JAVA Interview Questions Tech Mahindra C/C++/JAVA Interview Questions Reviewed by @NA on 7:40:00 PM Rating: 5

No comments:

Placement Papers Hub. Powered by Blogger.