i
HCLTech
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Oct 2024. There were 2 interview rounds.
Blinking an LED using bare metal code involves directly manipulating hardware registers without an operating system.
Access the GPIO register for the specific pin connected to the LED
Set the pin as an output
Toggle the pin state at regular intervals to create the blinking effect
Different types of pointers, volatile variable, storage classes, Static and extern keywords, ISR
Pointers: Null pointer, void pointer, function pointer
Volatile variable: Used to indicate that a variable may be changed by external factors
Storage classes: auto, register, static, extern
Static keyword: Used to declare variables that are only accessible within the same file
Extern keyword: Used to declare variables that are d...
Use sorting to find the nth largest number in a jumbled array.
Sort the array in descending order.
Access the nth element in the sorted array to find the nth largest number.
I chose HCl for its versatility and effectiveness in various applications.
HCl is commonly used in industries such as pharmaceuticals, food processing, and chemical manufacturing.
It is a strong acid that can be used for pH control, cleaning, and as a catalyst in chemical reactions.
HCl is also used in the production of PVC, fertilizers, and dyes.
Its ability to dissolve metals makes it useful in metal cleaning and etching
C programming memory structure involves stack, heap, data, and code segments.
Stack: Used for local variables and function call management.
Heap: Used for dynamic memory allocation.
Data: Contains global and static variables.
Code: Contains the program's executable code.
Storage classes in C define the scope and lifetime of variables.
There are four storage classes in C: auto, register, static, and extern.
Auto variables are stored in the stack and have local scope.
Register variables are stored in CPU registers for faster access.
Static variables retain their value between function calls.
Extern variables are declared in one file and can be accessed in another file.
HCLTech interview questions for designations
I applied via Recruitment Consulltant and was interviewed before Nov 2022. There were 2 interview rounds.
Get interview-ready with Top HCLTech Interview Questions
I applied via Recruitment Consultant and was interviewed in Aug 2021. There were 3 interview rounds.
Structure is a collection of variables of different data types while union is a collection of variables of same data type.
Structure allocates memory for all its variables while union allocates memory for only one variable at a time.
Structure is used when we want to store different types of data while union is used when we want to store only one type of data at a time.
Structure is accessed using dot (.) operator while u...
It is not possible to enter if and else at the same time in a programming language.
If and else are conditional statements that are mutually exclusive.
They are used to execute different blocks of code based on a condition.
To execute multiple blocks of code simultaneously, you can use nested if-else statements or logical operators.
Program to find factorial of a number
Use a loop to multiply the number with all the numbers less than it
Handle the case when the number is 0 or 1 separately
Use recursion to find factorial of a number
Recursion is a process where a function calls itself until a base condition is met.
Recursion involves breaking down a problem into smaller subproblems and solving them recursively
It requires a base case to stop the recursion and prevent infinite looping
Example: Factorial function - n! = n * (n-1)!, where the function calls itself with n-1 until n=1
I applied via Naukri.com and was interviewed in Feb 2021. There were 3 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2019. There were 5 interview rounds.
What people are saying about HCLTech
I applied via Naukri.com and was interviewed in Jan 2024. There was 1 interview round.
RTOS is a real-time operating system designed for time-sensitive applications. Microcontrollers are integrated circuits with built-in memory and peripherals.
RTOS is designed to provide deterministic and predictable response times for critical tasks.
Normal OS is designed for general-purpose computing and may not prioritize real-time tasks.
Microcontrollers are typically used in embedded systems and have limited resources...
Storage class in C determines the scope, visibility, and lifetime of variables.
C has four storage classes: auto, register, static, and extern.
Auto storage class is the default and is used for local variables.
Register storage class is used for variables that should be stored in CPU registers for faster access.
Static storage class is used for variables that retain their values between function calls.
Extern storage class ...
A macro is a preprocessor directive that is replaced by its value before compilation, while a constant variable is a read-only variable.
Macros are defined using the #define directive, while constant variables are declared using the const keyword.
Macros are replaced by their values during preprocessing, while constant variables are stored in memory.
Macros can lead to code duplication, while constant variables provide ty...
posted on 19 Feb 2024
Compilation process is the process of converting source code into machine code by a compiler.
Source code is written in a high-level programming language
Compiler translates the source code into assembly code
Assembler converts the assembly code into machine code
Final executable file is generated
based on 5 interviews
2 Interview rounds
based on 19 reviews
Rating in categories
Software Engineer
23.2k
salaries
| ₹1.7 L/yr - ₹8 L/yr |
Technical Lead
21.1k
salaries
| ₹6.9 L/yr - ₹25 L/yr |
Senior Software Engineer
15.7k
salaries
| ₹4 L/yr - ₹16.6 L/yr |
Lead Engineer
14.9k
salaries
| ₹4.2 L/yr - ₹14 L/yr |
Analyst
14.3k
salaries
| ₹0.8 L/yr - ₹6.5 L/yr |
TCS
Wipro
Accenture
Cognizant