Default data type in c

Default data type is opposite of default modifier as you read in the above topic. In case of only SIZE, SIGN, STORAGE CLASS, CONSTANT, and VOLATILE modifier compile automatically assumes int as a default data type. For example:

(1)
long a=25;
It is equivalent to: long int a=25;
(2)
signed a=25;
It is equivalent to: signed int a=25;
(3)
register a=25;
It is equivalent to: unsigned register int a=25;

But it is illegal to write:
far *f;
pascal p;
interrupt i;

Question: What will be output of following c code?

#inclued<stdio.h>
int main(){
    printf(“%d”,sizeof(const,extern,volatile));
    return 0;
}



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

9 comments:

Manish6745 said...

what will b d output of above code?

sarath said...
This comment has been removed by the author.
Nathandigi said...

Nice post. Thanks for sharing! I want people to know just how good this information is, It’s interesting content and Great work.
360DigiTMG digital marketing training in hyderabad

Priyanka said...

Attend The Digital Marketing Course Bangalore From ExcelR. Practical Digital Marketing Course Bangalore Sessions With Assured Placement Support From Experienced Faculty. ExcelR Offers The Digital Marketing Course Bangalore.
Digital Marketing Course Bangalore

Data Science pune said...

Such a very useful article. Very interesting to read this article. I would like to thank you for the efforts you had made for writing this awesome article.
Data Science Course in Pune
Data Science Training in Pune

Data Science Institute In Banglore said...

Such a very useful article. Very interesting to read this article.I would like to thank you for the efforts you had made for writing this awesome article.
Data Science Institute in Bangalore

Data Science Certification In Bangalore said...

Excellent Blog! I would like to thank for the efforts you have made in writing this post. I am hoping the same best work from you in the future as well. I wanted to thank you for this websites! Thanks for sharing. Great websites!
Data Science Certification in Bangalore

DataScience Datascience said...

I really appreciate the kind of topics you post here. Thanks for sharing us a great information that is actually helpful. Good day!
Data Science Course in Bangalore

DataScience Datascience said...

Thank you very much for sharing such a useful article. Will definitely saved and revisit your site
Data Science Training in Bangalore