Microcontroller Embedded C Programming Lecture 147| Aligned and un-aligned data storage
Aligned and un-aligned data storage Aligned Data Storage: When data is stored in aligned memory, it means that the memory address at which the data starts is…
Aligned and un-aligned data storage Aligned Data Storage: When data is stored in aligned memory, it means that the memory address at which the data starts is…
sizeof of a structure The size of a structure in C is the sum of the sizes of its members. The size of a structure type…
Accessing structure member elements Example Write a program to create a carModel structure discussed and create two variables of type carModel. Initialize the variables with the below given…
Structures in C Structures play a crucial role in 'C' programming, enabling the creation of user-defined data types that combine various data elements. These data elements can belong…
Usage of 'const' and 'volatile' together Usage of 'const' and 'volatile' together You can also use both 'const' and 'volatile' qualifiers in a variable declaration as per your…
Using 'volatile' with ISR Part-2 In the previous article, I gave you a small assignment to identify the places where we can keep volatile in this application. And…