Memory Management

void pointers

Void Pointer in C Programming : Advantages & Pitfalls

Table of Contents Add a header to begin generating the table of contents Introduction In C programming, pointers are an important topic, which plays a crucial role in memory management and data manipulation. As the definition goes, a pointer is a variable that stores the memory address of another variable, and plays an important role […]

Void Pointer in C Programming : Advantages & Pitfalls Read More »

Constant Pointer

Constant Pointer and Pointer Constants in C Programming

Table of Contents Add a header to begin generating the table of contents Introduction In the realm of C programming, pointers play a pivotal role as invaluable tools that enable us to efficiently manage memory and manipulate data. However, the terminology surrounding pointers can sometimes become perplexing, especially when dealing with two fundamental concepts: “Constant

Constant Pointer and Pointer Constants in C Programming Read More »

Linux more secure

Why Linux Is More Secure than Other Operating Systems?

Table of Contents Add a header to begin generating the table of contents A brief about OS Before getting into why is linux more secure than other operating systems, let us have a look into the brief on Operating Systems. Operating System is a software, that manages all hardware resources associated with the computer.  

Why Linux Is More Secure than Other Operating Systems? Read More »

linux internals interview questions

Linux Internals Interview Questions : Multitasking | Memory Management | IPC Mechanisms

Table of Contents Add a header to begin generating the table of contents Introduction Linux Internals and networking module has various topics describing OS concepts, kernel, IPC, Multi-threading etc., Students should try to relate the concepts, understand and remember it.   In one of the recent classes, some of our students had doubts in few

Linux Internals Interview Questions : Multitasking | Memory Management | IPC Mechanisms Read More »

dangling pointers in c

Dangling pointers in C : A practical tutorial

Introduction Dangling pointers in C – Usage and how to prevent them. Great guide for C newbies and Embedded systems programmers. Tutorial with practical examples.   Dangling pointers are those that do not point to valid objects. Pointers are like sharp knives that have tremendous power in C programming. When used properly, they reduce the complexity of the

Dangling pointers in C : A practical tutorial Read More »

Constant pointer and pointer to constant in C programming

Constant Pointer and Pointer to Constant

As an Embedded C programmer, understanding pointers is very important. Given the resource constraints in embedded system, one has to ensure memory is utilized in most optimized fashion, where pointers come in handy. While using pointers programmers often come across confusion between constant pointers and point to a constant. Here is an article that describes differences between

Constant Pointer and Pointer to Constant Read More »