473,394 Members | 1,787 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

why Typedef is storage class specifier?

Hi

C Ref Man says

" The typedef specifier does not reserve storage and is called a
storage class specifier only for syntactic convenience "

does this mean storage specifier for "user specific storage area" ?
ie. flexibity to provided to create user defined storage class
specifier.

Oct 16 '06 #1
1 3560
"sunny" <su*******@gmail.comwrites:
C Ref Man says

" The typedef specifier does not reserve storage and is called a
storage class specifier only for syntactic convenience "

does this mean storage specifier for "user specific storage area" ?
ie. flexibity to provided to create user defined storage class
specifier.
We don't generally complain about minor spelling or grammatical
errors, but in this case I really can't figure out what you're trying
to say. Can you rephrase the question, and try not to leave out any
words?

I think the answer to your question is no, but I can't be sure. There
are no user defined storage class specifiers, only the ones defined by
the language: typedef, extern, static, auto, and register.

--
Keith Thompson (The_Other_Keith) ks***@mib.org <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <* <http://users.sdsc.edu/~kst>
We must do something. This is something. Therefore, we must do this.
Oct 16 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: ravi_shankar | last post by:
I know java,but I am just beginner in C.I have some confusions regarding extern storage specifier and default storage class specifier for a variable when it has file scope that is ,when it is not...
3
by: Dave | last post by:
Hi all, I was wondering if when I use the typedef command, I can typedef multiple names. EX) typedef struct foo { foo *next; foo *prev; int val;
5
by: Cancerbero | last post by:
Hi (first, excuse me for my bad english) As I know, the semantics for typedef is: typedef A B; I think this makes B a synonym of A, where A is an existing data type. Is that right? Based...
13
by: Martin | last post by:
This post asks two questions, which I've illustrated in one C source file (see below), which clean compiles on my GNU compiler. 1. In K&R2, Section A8.9 it says "Declarations whose storage class...
2
by: Mehta Shailendrakumar | last post by:
Hi all, Have alook at two different declarations below: typedef unsigned char uc; typedef void (*fptr) (void); The first declaration has a left part which is a C keyword: "unsigned char"...
3
by: James Brown | last post by:
I am defining the following typedefs: typedef int* pint; typedef pint* ppint; typedef ppint* pppint; taking the last typedef - "pppint" - would this be referred to as: an alias to type...
1
by: sunny | last post by:
Hi why "typedef " is storeage class specifier even though it does not decide storage and lifetime of an variable. thanks sunny
5
by: Jess | last post by:
Hello, I think the syntax of typedef is typedef existing-type new-type However, I've seen a statement typedef string stringarray;
6
by: Sourabh Daptardar | last post by:
Why is register storage specifier not allowed for class member variables? <snip> ISO standard : Section 9.2 ; point 6 : -6- A member shall not be auto, extern, or register. </snip> I...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.