Syntax and Keyword

Keyword: 


Keywords are the words whose meaning has already been explained to the C compiler (or in a broad sense to the computer). The keywords cannot be used as variable names because if we do so we are trying to assign a new meaning to the keyword, which is not allowed by the computer. Some C compilers allow you to construct variable names that exactly resemble the keywords. However, it would be safer not to mix up the variable names and the keywords. The keywords are also called ‘Reserved words’.
There are only 32 keywords available in C, given below:

auto:
break:
case:
char:
const:
continue:
default:
do:
double:
else: Can we execute one group of statements if the expression evaluates to true and another group of statements if the expression evaluates to false? Of course! This is what is the purpose of the 'else' statement. if else look like this:
                                                if (this condition is true)
                                          execute this statement;
else
                                          execute this statement;
enum:
extern:
float: For real number we use 'float' variable.
for:
goto:
if: Like most languages, C uses the keyword if to implement the decision control instruction. The general form of if statement looks like this:

if ( this condition is true ) 
      execute this statement ;

int: For Integer number we use 'int' variable.
long: For use to show large number of digit in screen. It is use before int.  
register:
return:
short:
signed:
sizeof:
struct:
switch:
typedef:
union:
unsigned:
void:
volatile:
while: It is a controller loop which is use to repeating a step many times. Its general form looks like this:
                              while(condition holds)
                                do the statement
                             repeat again until the condition fulfill  
           



Syntax:



             (!)                 ➤Logical NOT
   (*) ( /)  (%)             ➤Arithmetic and modulus (Multiplication)(Division)(Modulus)
        (+)  (-)               ➤Arithmetic (Summation)(Subtraction)
(<)  (>)  (<=)  (>=)    ➤Relational (Less than)(Greter than)(Less equal)(Greater equal)
      (==)  (!=)             ➤Relational (Equal to)(Not equal to)
         (&&)                ➤Logical AND
           (||)                   ➤Logical OR
          (=)                   ➤Assignment


        ©️ Copyright 2019