C Programming

importance of c language

Why is C The Most Preferred Language for Embedded Systems?

Table of Contents Add a header to begin generating the table of contents Introduction C is a versatile computer programming language known for its importance and remarkable features, making it a top choice in various applications. It’s employed for creating operating systems (Ex: Linux Kernel) and software for a wide range of computers, from powerful […]

Why is C The Most Preferred Language for Embedded Systems? Read More »

what is internet of things

Introduction to IoT for Beginners : Kickstart your career growth

Table of Contents Add a header to begin generating the table of contents Introduction to IoT The Internet of Things (IoT) is an ecosystem of connected physical devices/objects that are accessible through the internet. This introduction to IoT includes insights into its components, the benefits of IoT, and high-level architecture. IoT is a system of interrelated devices, digital products,

Introduction to IoT for Beginners : Kickstart your career growth Read More »

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 »

Bit Fields in C programming

Bit Fields in C Programming | Embedded Systems

Table of Contents Add a header to begin generating the table of contents Bit-Fields : Be ‘Bit’ Careful While Using! In Embedded systems C programming, bit-fields offer optimization and flexibility benefits but require careful usage to avoid adverse results.   The code snippet below illustrates a structure named “bit_field” with three integer fields: hours (5

Bit Fields in C Programming | Embedded Systems Read More »

scripting vs programming languages

Scripting v/s Programming languages : Which one to choose?

Table of Contents Add a header to begin generating the table of contents Introduction Programming is defined as a process of creating a set of instructions that tells a computer how to perform a task. The main purpose of programming language is to find a sequence of instructions that will be executed by the processor,

Scripting v/s Programming languages : Which one to choose? Read More »

bitwise operators in C

Bitwise Operators in C – Common Mistakes and How to Avoid Them

Table of Contents Add a header to begin generating the table of contents An operator that performs operation on a “bit-level” is said to be bit-wise operator. Generally, bitwise operators in C operate on a single bit at a time. Though it operates on a bit at a time, it needs one byte as input.

Bitwise Operators in C – Common Mistakes and How to Avoid Them Read More »

programming languages

How Many Programming Languages Should I Learn?

Table of Contents Add a header to begin generating the table of contents How Many Programming Languages Should I Learn? How Many Programming Languages Should I Learn? – This is a classic question we get all the times from our students. sometimes even working professionals ask the same. Simple answer from us – Why are you

How Many Programming Languages Should I Learn? 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 »

Dangling Pointers in C programming

Dangling Pointers in C Programming – Be Strictly Avoided

Table of Contents Add a header to begin generating the table of contents Dangling Pointers : Be “STRICTLY” Avoided ! Pointers are like sharp knives in C-Programming which are having tremendous power. Pointers, when used properly reduces the complexity of the programs to a great extent.   But, on the counterpart when not used properly results in adverse effects,

Dangling Pointers in C Programming – Be Strictly Avoided Read More »

Volatile Qualifier in C language

Volatile Demystified

Table of Contents Add a header to begin generating the table of contents Introduction Volatile Qualifier in C language, which is applied to a variable when it is declared. It is used extensively while writing programs for embedded systems, especially when dealing with hardware. Most often, Volatile variable usage stumps an embedded system programmer with unexpected

Volatile Demystified 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 »

mistake proofing in C programming

Mistake Proofing in C Programs

Table of Contents Add a header to begin generating the table of contents Introduction The Japanese concept of ‘poka-yoke’ talks about preventing mistakes by introducing certain mechanisms. It was originally designed for machinery which can be applied for any other aspect of life as well. What about mistake proofing in C programming ? The earlier we get

Mistake Proofing in C Programs Read More »