Interview Questions

What does the message Automatic aggregate intialization is an ANSI feature mean?

C Interview Questions and Answers


(Continued from previous question...)

What does the message Automatic aggregate intialization is an ANSI feature mean?

Q: What does the message Automatic aggregate intialization is an ANSI feature'' mean? My compiler is complaining about valid ANSI code.

A: Messages like these are typically emitted by pre-ANSI compilers which have been upgraded just enough to detect (but not properly translate) new C features which were introduced with the ANSI Standard. The implication of the message is that you should pay your vendor more money for a copy of their real ANSI C compiler.

(Continued on next question...)

Other Interview Questions