C Language

Difference between Definition and Declaration (Declare vs Define in C)

If you are learning “C programming“, it is very important to understand the difference between definition and declaration. Now you are thinking about why important to know the difference between declaration and definition, then the reason behind is that if you don’t understand the difference, you’ll run into weird linker errors like “undefined symbol data” […]

Difference between Definition and Declaration (Declare vs Define in C) Read More »

Declaration and definition (C/C++)

When we started learning the programming language, we faced two fancy words declaration and definition. In the beginning, most programmers avoid understanding these two words’ declaration and definition. Initially, this two-term declaration looks very confusing. But after practicing the programming problems you are not only able to understand this concept able also able to understand

Declaration and definition (C/C++) Read More »

_Generic keyword in C11

_Generic keyword in C

In this tutorial, you will learn the concept of  _Generic keyword with a programming example. It will also help you to write a program on how to check a variable is const qualified in C. So let’s first understand what _Generic keyword ( _Generic selection ) is. _Generic keyword (since C11): Using the _Generic keyword,

_Generic keyword in C Read More »