Re: function prototype vs function declaration
- From: Keith Thompson <kst-u@xxxxxxx>
- Date: Tue, 18 Dec 2007 18:20:17 -0800
"Ravishankar S" <ravishankar.s@xxxxxxxxxxxx> writes:
Dear C Experts,[snip]
While prepating a content for a C course,I made section on function
prototypes.
Could you kindly provide me your comments on its correctness. Thank you !
Q12: What is the difference between a function prototype and a function
declaration?
C99 6.2.1p2:
A _function prototype_ is a declaration of a function that
declares the types of its parameters.
--
Keith Thompson (The_Other_Keith) <kst-u@xxxxxxx>
Looking for software development work in the San Diego area.
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"
.
- References:
- function prototype vs function declaration
- From: Ravishankar S
- function prototype vs function declaration
- Prev by Date: Re: function prototype vs function declaration
- Next by Date: Re: Positive random number
- Previous by thread: Re: function prototype vs function declaration
- Next by thread: UTC string -> time_t
- Index(es):
Relevant Pages
|