i read the following line from programming wiht c by byron s gottfried.
"only external and static array can be initialized"
however when i tried initialising automatic array ,the program works .
please explain.

So context to that sentence would be beneficial...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.