Re: C Interview Questions
- From: Richard Heathfield <invalid@xxxxxxxxxxxxxxx>
- Date: Tue, 31 Oct 2006 12:43:23 +0000
Simon Biber said:
Richard Heathfield wrote:
Adrian said:
Also the standard says you can pass NULL to fflush to flush all open
streams.
Indeed, which is another reason that there is no such thing as *the*
correct argument to fflush.
Q: Which is the integer?
A: 23
B: 52.3
C: 22.1
D: -99.1
Obviously 23 is the integer.
It's not the only integer in the universe,
but it's the integer in the list following. That's how English works.
Point taken. Now, which is the correct argument to fflush?
a) stdout
b) stdin
c) stderr
d) All the above
--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: rjh at above domain (but drop the www, obviously)
.
- References:
- C Interview Questions
- From: dhruvaraj
- Re: C Interview Questions
- From: Richard Heathfield
- Re: C Interview Questions
- From: Adrian
- Re: C Interview Questions
- From: Richard Heathfield
- Re: C Interview Questions
- From: Simon Biber
- C Interview Questions
- Prev by Date: Re: C exe on winXP memory limitation
- Next by Date: Re: need for an extra variable.
- Previous by thread: Re: C Interview Questions
- Next by thread: Re: C Interview Questions
- Index(es):
Relevant Pages
|
|