Difference between Microprocessor and Microcontroller

In this tutorial I am sharing the difference between Microprocessor and Microcontroller. Before learning the differences, lets first learn about what is microprocessor and microcontroller. What is Microprocessor? Microprocessor (µP) is the logic chip that contains all or most of the central processing unit (CPU) functions on a single integrated circuit. Microprocessor is a miniature …

Difference between Microprocessor and Microcontroller Read More »

Union in C

Union is a user defined data type which contains variables of different data types. Or we can say that, union is collection of dissimilar type of elements or data. The concept of union is taken from structure so the syntax of union is same as structure. Union can be defined using keyword “union” as shown …

Union in C Read More »