Microcontroller Embedded C Programming Lecture 46| Typecasting in ‘C’
Typecasting in 'C' Type casting: → Typecasting is a way of converting a variable or data from one data type to another data type. → Data…
Typecasting in 'C' Type casting: → Typecasting is a way of converting a variable or data from one data type to another data type. → Data…
Function exercise Exercise: Write a program to do mathematical operations such as addition, subtraction, multiplication, and division of integers. You have to follow these two steps. Do…
Returning data from a function Now let's modify this function(Figure 1) to return a value to the caller. In this case, the main is the caller, and…
Function prototypes Function Prototype(Declaration) In 'C' functions first have to be declared before they are used. Prototype lets compiler to know about the return data type, argument…
Introduction to functions in 'C' In this article, let's learn about Functions in 'C.' Let's learn how to write functions, what a function prototype is, how to…
ASCII codes In this article, let's explore ASCII codes. The American National Standards Institute(ANSI), which developed ANSI C, also developed the ASCII codes. ASCII stands for "American…