Difference b/w storage class and storage class specifier

S

sarathy

Hi,
What is the difference b/w a "storage class" and "storage
class specifier"?
It is said that there,

Storage Class --> automatic static ( K&R )
Storage Class Specifier --> auto extern register static
typedef

What does a specifier mean? I see the name "specifier" also
being used in

type specifier
struct-specifier
union-specifier

etc...

Regards,
Sarathy
 
K

Keith Thompson

sarathy said:
Hi,
What is the difference b/w a "storage class" and "storage
class specifier"?
It is said that there,

Storage Class --> automatic static ( K&R )
Storage Class Specifier --> auto extern register static
typedef

A storage class specifier is one of a set of keywords that can appear
in a C program source. A storage class is what those keywords
specify.
 
S

sarathy

Keith said:
A storage class specifier is one of a set of keywords that can appear
in a C program source. A storage class is what those keywords
specify.

Thanks. I got it now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,051
Latest member
CarleyMcCr

Latest Threads

Top