Re: Newbie Question about main
From: Josh Sebastian (curien_at_cox.net)
Date: 01/14/04
- Next message: Paul F. Johnson: "Replacing a switch"
- Previous message: Martijn Lievaart: "Re: [OT] Re: Learn how to REALLY program."
- In reply to: Leor Zolman: "Re: Newbie Question about main"
- Next in thread: Robert W Hand: "Re: Newbie Question about main"
- Reply: Robert W Hand: "Re: Newbie Question about main"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 14 Jan 2004 17:44:40 -0500
On Wed, 14 Jan 2004 20:29:27 +0000, Leor Zolman wrote:
> Here's how
> the C Standard defines the term "function prototype" (Section 6.2.1,
> paragraph 2):
>
> A function prototype is a declaration of a function
> that declares the types of its parameters.
>
> Something with an empty parameter list most certainly does _not_
> declare the types of its parameters.
So, is
int foo(int a ...);
not a prototype?
Josh
- Next message: Paul F. Johnson: "Replacing a switch"
- Previous message: Martijn Lievaart: "Re: [OT] Re: Learn how to REALLY program."
- In reply to: Leor Zolman: "Re: Newbie Question about main"
- Next in thread: Robert W Hand: "Re: Newbie Question about main"
- Reply: Robert W Hand: "Re: Newbie Question about main"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|