We tend to assume here in comp.lang.c that most questions we get are
about hosted implementations, unless the questioner explicitly says
otherwise. That's usually a valid assumption; it's been plausibly
claimed that most C programming is done for embedded systems, but most
people learning C use hosted implementations (commonly Windows or
something Unix-like).
That's reasonable, as far as it goes. I'd call "maximum portability" a
fairly explicit statement that it's not intended specificlaly for hosted
implementations, but maybe that's just me.
The cost of writing most of your code in the intersection of C90 and
C99 is minimal, and it's good practice anyway (unless you're willing
to limit yourself to implementations that support some or all of the
new C99 features).
That depends _heavily_ upon what you're doing and what you compare to.
If you really want maximum portability, C90 doesn't get even close, but
the lengths you go to for truly maximum portability can make the code
drastically more expensive. Just for one example, at one time I flat-out
gave up on porting some code because I couldn't sort out what bits it
needed from what headers (and this was GNU code that had already been
ported to quite a few platforms too).
You may be right, but I don't think we have enough information to
assume that. The OP's single sentence didn't tell us how much thought
went into setting the requirement.
When you get down to it, my point is that restricting yourself to the
common subset of C and C++ doesn't gain you much of anything beyond (for
example) just using C the way it as inteded to be used. For that matter,
restricting yourself from using C++ gains very little either -- at one
time there were quite a few systems that supported C but not C++. That
day is long gone, and I know of very few (if any systems) that have even
reasonably compliant implementations of C89 but no C++ compiler (in
fact, for a while there were a fair number of systems for which the
closest thing to a conforming implementation of C WAS their C++
compiler).