Make Money Online KEYWORDS C++ Constants, Variables, Data types, Keywords | C++ Programming Video Tutorial

C++ Constants, Variables, Data types, Keywords | C++ Programming Video Tutorial

C++ Constants, Variables, Data types, Keywords | C++ Programming Video Tutorial post thumbnail image


In this video tutorial, we will discuss constants, variables, data types, and keywords in the C programming language.

A constant is a value that does not change. In C, constants are declared using the keyword const. The value of a constant can be a number, a character, or a string.

A variable is a named storage location that can hold a value. In C, variables are declared using the keyword int, float, or char. The value of a variable can be a number, a character, or a string.

There are three data types in C: int, float, and char. The int data type is used to store integer values. The float data type is used to store floating point values. The char data type is used to store character values.

There are six keywords in C: int, float, char, const, void, and return. The int keyword is used to declare an integer variable. The float keyword is used to declare a floating point variable. The char keyword is used to declare a character variable. The const keyword is used to declare a constant. The void keyword is used to declare a function that does not return a value. The return keyword is used to return a value from a function.

Related Post