Can you please to explain me this C code?

O aplicativo “cdecl” e’ muito util para explicar expressoes complexas em linguaguem C:

cdecl> explain int *ap[10];
declare ap as array 10 of pointer to int

Nem tudo que parece e’:

cdecl> explain int (*pa)[10];
declare pa as pointer to array 10 of int

Bom, ele tambem pode fazer o oposto: eu explico o que desejo e ele gera o codigo para mim:

cdecl> declare main as function returning int
int main()
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s