Relational Operator in C Programming Language is used to compare values of two operands which gives us result as boolean values i,e true or false.
Variable in C Programming
A Variable is a name given to the memory location where the actual data is stored.Variable is also called as container to store the data. Variable name may have different data types to identify the type of value stored
Increment Operator in C Programming [Post Increment / Pre Increment]
In C Programming , Unary operators are having higher priority than the other operators. Unary Operators are executed before the execution of the other operators. Increment and Decrement are the examples of the Unary operator in C. Increment Operator in C Programming : Increment operator is used to increment the current value of variable by(…)
Decrement Operator in C Programming [Post Decrement / Pre Decrement]
When Postfix (-) Decrement is used with a variable in an Expression ,The Expression is evaluated first using the original value of variable and then variable is decremented by one
Rules for Constructing Integer Number Constant
Rules for constructing Integer constant Some important Tips : The range of the integer constant depends on the compiler. The above mentioned range is for 16-bit compiler. Integer Value does not have decimal point. Integer Value may be positive or negative. even 0 is also considered as Integer. Integer Constant Value is assigned to integer(…)
What is Constant in C Programming ?
What is Constant ? Constant in C means the content whose value does not change at the time of execution of a program. Definition : Explanation : Initially 5 is Stored in memory location and name x is given to it After We are assigning the new value (3) to the same memory location This(…)
What does Storage Class of Variable Determines ?
Storage Class of the Variable determines - Scope of Variable,Default initial value of Variable ,Lifetime and Storage information about the variable.
Register Storage Class in C Programming
Register Storage Class have faster Access. Register variables occur in CPU and value of that register variable is stored in a register within that CPU.Maximum size of variable is the Maximum Size of Register
Limitations of Array in C Programming
Limitations of Array : Array is Static Data Structure and memory cannot be allocated at run time. Deletion and Insertion Operation on Array is Difficult.
Scanf : Reading or Accepting String From User in C
In C Programming we can use scanf function from stdio.h header file to read string. Scanf function is commonly used for accepting string. Format Specifier %s is used for Accepting String
