Default modifier or Qualifiers of variables in c programming

Modifier or Qualifiers of variables and data types in c programming

    If you will not write any modifiers of a particular group then c compiler will take default modifier of that group. Default modifier of each group has written in the following table:  

Modifiers and Qualifiers of data types in c
1. Default modifier of storage class is auto when we declared the variable inside any function and default modifier of storage class is static when we declared variable outside of all functions. In other word we can say if variable has declared locally then default storage class is auto and if it has declared globally then default storage class of variable is extern.

2. Default storage class of function is extern.

3. Default modifier of pointer modifier depends upon memory model. For detail knowledge click following link:

WHAT IS MEMORY MODEL IN C?

Introduction
List of data types
Primitive data types in c
Modifiers of data types in c
List of modifiers in c
Default modifiers of data types in c
Default data of modifiers in c
Rules of using modifiers in c
Possibles modifiers of given data types in c
Size modifier in c
Size of data types in c
Sign modifier in c
Range of data types in c
Easy way to remember limit of data types in c
Const modifiers in c
Pointers modifier in c
Function modifier in c
Interrupt modifier in c
Volatile modifier in c
Fundamental data types in c
Memory representation of char in c
Memory representation of signed char in c
Memory representation of int in c
Memory representation of signed int in c
Memory representation of double in c

1 comment:

xcod4r said...

maximum and minimum value of int

#include

main() {
int x,j ;

x = 1;

while (x > 0) {
j = x;
x++;
}

printf ("Maximum value of integer is %d\n",j);
printf ("The value of integer after overflow is %d\n",x);
}