two “new” features in c

Well, there are not really new at all. But still many beginners like me are totally unaware of them.

1. you can define an array with a variable length, e.g.

int i = 5; int a[i] = {0};

2.  const is also a keyword in C.

Advertisement

One Response to “two “new” features in c”

  1. chris Says:

    all computer stuff~ complicated~

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 )

Connecting to %s


Follow

Get every new post delivered to your Inbox.