A variable is a data name that may be used to store a data value. Unlike constants that remain unchanged during the execution of a program, a variable may take different values at different times during execution. A variable name can be chosen by the programmer in a meaningful way to reflect the program's function or nature.
In this “Variable and Data Types – C Programming” you will learn about the following topics:
- Constant
- Integer Constants, Real Constants, Mantissa E Exponent, Single Character Constants, String Constants, Backslash Character Constants, Format Specifier
- Variables
- Types of Variables, Rules for the Declaration of Variables, Declaration of Variables, Initialization of Variables
- Difference between Constant and Variables
- Simple Input/output Functions
- How to use scanf() and printf()? Single Character Input and Output, String Input and Output
- Data Types in C Language
- Primary Data Types
- Integer Data Types, Floating Point Data Types, Double, Character Data Type, Void Type
- Secondary Data Type
- Array Type, Structure Type, Union Type, Function Type, Pointer Type
- Operators
- Arithmetic or Binary Operator, Relational or Comparison Operator, Assignment Operator, Logical or Boolean Operator, Conditional or Ternary Operator, Comma Operator, Increment/Decrement Operator, Sizeof Operator, Bitwise Operator
- Expression
- Type Casting and Conversions
- Implicit, Explicit
- Statements
- Simple Statement, Compound Statement, Control Statement
==== Point to Note ====
This article Variable and Data Types – C Programming is contributed by Pawan Tiwari, a student of LA GRANDEE International College (LGIC).
If you like to contribute, you can mail us BCA Notes, BCA Question Collections, BCA Related Information, and Latest Technology Information at [email protected].
See your article appearing on BCA Notes (Pokhara University) main page with your designation and help other BCA Students to excel.
Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.
0 Comments