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

18 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

Best Data Science Courses 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

hyder31 said...
This comment has been removed by the author.
Ramya said...

Your article gives lots of information to me. I really appreciate your efforts admin, continue sharing more like this.
DevOps Training in Chennai

DevOps Online Training in Chennai

DevOps Training in Bangalore

DevOps Training in Hyderabad

DevOps Training in Coimbatore

DevOps Training

DevOps Online Training

Machine Learning Course in Raipur - 360DigiTMG said...

Highly appreciable regarding the uniqueness of the content. This perhaps makes the readers feels excited to get stick to the subject. Certainly, the learners would thank the blogger to come up with the innovative content which keeps the readers to be up to date to stand by the competition. Once again nice blog keep it up and keep sharing the content as always.

360DigiTMG Business Analytics Course

Machine Learning Course in Raipur - 360DigiTMG said...

Terrific post thoroughly enjoyed reading the blog and more over found to be the tremendous one. In fact, educating the participants with it's amazing content. Hope you share the similar content consecutively.

360DigiTMG Data Analytics Course

ai course in raipur - 360DigiTMG said...

Extraordinary blog filled with an amazing content which no one has touched this kid of subject before. Thanking the blogger for all the terrific efforts put in to develop such an awesome content. Expecting you to deliver similar contents further too and keep sharing as always.

360DigiTMG PMP Certification Course

hyder31 said...

Nice Blog

Digital Marketing Training in Hyderabad

hyder31 said...
This comment has been removed by the author.
hyder31 said...

Nice Blog

Weddingbels

Digital Marketing said...

Well done for this excellent article. I really enjoyed reading this article today and think it might be one of the best articles I have read so far. Please keep this work of the same quality. Digital Marketing Course in Hyderabad