VMware Software
10+ Mahindra & Mahindra Interview Questions and Answers
Q12. Reverse linked list in group of k
Reverse linked list in groups of k nodes
Iterate through the linked list in groups of k nodes
Reverse each group of k nodes using iterative or recursive approach
Update the pointers accordingly to reverse the entire linked list in groups of k
Q13. multiprocessing vs multithreading
Multiprocessing involves multiple processes running concurrently, while multithreading involves multiple threads within a single process.
Multiprocessing uses multiple processes to execute tasks simultaneously.
Multithreading uses multiple threads within a single process to achieve parallelism.
Multiprocessing is more memory-intensive as each process has its own memory space.
Multithreading is more lightweight as threads share the same memory space.
Example: Running multiple insta...read more
Q14. C++ outputs on constructors
C++ constructors can output messages to the console using cout or printf.
Constructors can be used to initialize member variables and allocate memory.
Outputting messages in constructors can be useful for debugging and logging.
Example: class Person { public: Person() { cout << "Person object created."; } };
Example: class Car { public: Car() { printf("Car object created.\n"); } };
Q15. products of vmware
VMware offers a range of products including virtualization software, cloud management, networking and security solutions.
vSphere
NSX
vSAN
Horizon
Workspace ONE
Interview Process at Mahindra & Mahindra
Top Software Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month