Author name: Amlendra

I am an embedded c software engineer and a corporate trainer, currently, I am working as senior software engineer in a largest Software consulting company . I have working experience of different microcontrollers (stm32, LPC, PIC AVR and 8051), drivers (USB and virtual com-port), POS device (VeriFone) and payment gateway (global and first data).

sqrt function in C

The sqrt function in C computes the nonnegative square root of a given number (sqrt parameters). It is declared in math.h and takes one argument in the form of double and returns the value of type double. You should remember that if the argument is less than zero, a domain error occurs. Syntax of sqrt […]

sqrt function in C Read More »

Inline Function in C: How It Works, Linkage Rules, and Examples

In C programming, function calls introduce a small overhead due to stack operations, parameter passing, and control transfer. While this overhead is negligible in most applications. But it can become significant in performance-critical systems such as embedded firmware, device drivers, and real-time applications. To reduce this overhead, the C language provides the inline keyword, which

Inline Function in C: How It Works, Linkage Rules, and Examples Read More »