? Core C Programming (Logic & Concepts)
? Core C Programming (Logic & Concepts)
1. What is a pointer in C?
CopyEdit
int a = 10;
Answer:
Call by value: Passes a copy of the variable (changes don’t affect original).
Call by reference: Passes the address (changes affect the original).
Answer: A pointer pointing to a memory location that has been freed or deleted.
Answer:
CopyEdit
CopyEdit
str[len - i - 1] = temp;
Answer: A specialized computer system designed to perform dedicated functions within a larger
system (e.g., microwave, pacemaker).
Answer:
Answer: GPIO pins can be configured as input or output to interface with sensors, LEDs, switches,
etc., usually via register settings.
📡 Communication Protocols
11. Explain the differences between I2C, SPI, and UART.
Feature I2C SPI UART
Answer: Direct Memory Access allows peripherals to access memory without involving the CPU,
increasing performance.
Answer: A real-time operating system is designed to process data and respond within a strict time
deadline.
Answer:
Answer:
Answer:
Stack: Used for static memory allocation (function calls, local vars).
Heap: Used for dynamic memory (malloc, free).
Answer: When memory is allocated but not properly deallocated (free), causing the program to use
more and more RAM over time.
Answer:
Answer:
📁 Project-Based Questions
20. Explain your academic project.
Answer Format:
🗣️ HR Round Questions
21. Tell me about yourself.
Answer Tip: Start with your education, project work, any internship, technical interests, and
strengths.
Answer: HCL is a leading tech company with global opportunities, strong embedded systems
projects, and a learning-friendly environment where I can grow technically and contribute
meaningfully.
23. Are you ready to relocate or work in any domain?
Answer: Yes, I am flexible and open to relocate or work in any domain where I can learn and
contribute.
Answer:
Answer: I see myself as a key embedded system developer, possibly leading a team, contributing to
real-time products, and continuing to grow in software-hardware integration.