Filter interviews by
To move the cursor 5 characters ahead of current position in an opened file.
Use fseek() function to move the cursor to the desired position.
Pass the current position and offset to fseek() function.
Use SEEK_CUR as the reference point for the offset.
Answering which statement about a binary heap is false.
A binary heap is a complete binary tree where the parent node is always greater or smaller than its children.
A binary heap can be represented as an array.
A binary heap can be used to implement priority queues.
A binary heap can only be a max heap and not a min heap.
Virtual function is a function in base class that is overridden in derived class.
Virtual function allows polymorphism in C++.
It is declared in base class with virtual keyword.
It is overridden in derived class with same signature.
It is called based on the object type at runtime.
Example: virtual void display() = 0; // pure virtual function
Mutex is a synchronization mechanism used to prevent multiple threads from accessing shared resources simultaneously.
Mutex stands for mutual exclusion.
It is used to protect critical sections of code where multiple threads may try to access shared resources.
Mutex allows only one thread to access the shared resource at a time.
If another thread tries to access the resource while it is locked by a mutex, it will be blocked...
Top trending discussions
posted on 29 Oct 2022
I applied via campus placement at Delhi College of Engineering (DCE), Delhi and was interviewed in Sep 2022. There were 3 interview rounds.
1 hour test of moderate to difficult level questions
posted on 7 Oct 2021
I applied via Campus Placement and was interviewed in Sep 2021. There were 5 interview rounds.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
1st round some apt qns,some prgramming qns are they asked
Handle exceptions by using try-catch blocks to gracefully manage errors in code execution.
Use try-catch blocks to catch exceptions and handle them appropriately.
Throw custom exceptions when necessary to provide more specific error information.
Use finally block to execute code that should always run, regardless of whether an exception is thrown.
Avoid catching generic exceptions like Exception class, instead catch specif...
Inheritance is a concept in object-oriented programming where a class can inherit attributes and methods from another class.
Allows for code reusability by creating a new class based on an existing class
Derived class inherits properties and behaviors of the base class
Supports the 'is-a' relationship, where a derived class is a specialized version of the base class
I applied via campus placement at Sastra University and was interviewed in Aug 2023. There were 2 interview rounds.
60 minutes 60 aptitude and logical reasoning questions questions
Yes
Socket programming is a way to establish communication between two computers over a network using sockets.
It involves creating a socket, binding it to an IP address and port, listening for incoming connections, and sending/receiving data.
Examples of socket programming include creating a chat application, a file transfer program, or a web server.
IPv4 and IPv6 are internet protocol versions. IP masking is a technique to hide IP addresses.
IPv4 is the fourth version of the Internet Protocol, while IPv6 is the sixth version.
IPv4 uses 32-bit addresses, allowing for approximately 4.3 billion unique addresses.
IPv6 uses 128-bit addresses, providing a significantly larger address space.
IP masking, also known as IP anonymization, is the process of hiding the IP address ...
posted on 21 Mar 2024
It was a good experience in aptitude
posted on 16 Oct 2023
I applied via Company Website and was interviewed in Sep 2023. There were 3 interview rounds.
2 java coding question woth some java fundamental mcqs
Software Engineer
252
salaries
| ₹6 L/yr - ₹17 L/yr |
Lead Engineer
250
salaries
| ₹14 L/yr - ₹42.2 L/yr |
Senior Software Engineer
245
salaries
| ₹10.5 L/yr - ₹31 L/yr |
Staff Engineer
163
salaries
| ₹20.1 L/yr - ₹52 L/yr |
Senior Engineer
131
salaries
| ₹10.5 L/yr - ₹30 L/yr |
Intel
NXP Semiconductors
Texas Instruments
Analog Devices