Filter interviews by
I applied via Naukri.com and was interviewed in Sep 2021. There was 1 interview round.
Structure padding is the insertion of unused memory between structure members to align them to specific memory addresses.
Padding is added to ensure that each member of the structure is aligned to a memory address that is a multiple of its size.
Padding is added to improve performance by allowing the CPU to access data more efficiently.
Padding can be controlled using compiler-specific directives or pragmas.
Example: struc...
A null pointer is a pointer that does not point to any memory location.
A null pointer is represented by the value 0 or nullptr in C++.
Dereferencing a null pointer results in undefined behavior.
Null pointers are commonly used to indicate the end of a linked list or array.
Null pointers can be used to check if a pointer has been initialized or not.
I applied via Naukri.com and was interviewed before Mar 2021. There were 3 interview rounds.
Structure padding adds extra bytes to align data while structure packing removes extra bytes to save memory.
Structure padding is used to align data in memory for efficient access.
Structure packing is used to save memory by removing extra bytes.
Padding bytes are added to ensure that each member of the structure is aligned on a boundary that is a multiple of its size.
Packing bytes are removed to ensure that the structure...
A C structure is a user-defined data type that groups related variables of different data types under a single name.
Structures allow for the creation of complex data types that can be used to store and manipulate related data.
They can contain variables of different data types, including other structures.
Structures are defined using the 'struct' keyword and can be accessed using the dot operator.
Example: struct person {...
CTC expectation refers to the expected salary or compensation package for the position.
CTC stands for Cost to Company
It includes all the expenses incurred by the company for an employee, such as salary, bonuses, benefits, and taxes
The CTC expectation can vary based on the candidate's experience, skills, and the company's budget
It is important to discuss CTC expectations during the interview process to avoid any misunde
Top trending discussions
based on 2 reviews
Rating in categories
Technical Lead
250
salaries
| ₹11.1 L/yr - ₹33.8 L/yr |
Senior Software Engineer
174
salaries
| ₹7.7 L/yr - ₹26.7 L/yr |
Senior Engineer
123
salaries
| ₹6.4 L/yr - ₹21.5 L/yr |
Software Engineer
96
salaries
| ₹4.5 L/yr - ₹12 L/yr |
Senior SQA Engineer
85
salaries
| ₹6.8 L/yr - ₹18.7 L/yr |
Siemens
ABB
Schneider Electric
Honeywell Automation