comp.lang.c
[Top] [All Lists]

Re: Doubts about pointers

Subject: Re: Doubts about pointers
From: Walter Roberson
Date: Wed, 26 Mar 2008 20:17:56 +0000 UTC
Newsgroups: comp.lang.c

In article <invalid20080326-200354.312.0@xxxxxxxxxxxxxxxxxxx>,
Simon  <nospam@xxxxxxxxxxx> wrote:

>I have a couple of doubts about pointers in C.

>1) I have a function with prototype is :

> my_funtion(char far * char);

Then it is not C. 'far' is not a qualifier in standard C.

Also note that in C99, specifying the return type of the function
is mandatory; in C95 and earlier, 'int' was assumed by default.


>I am using Borland Turbo-C 2.01 if it's relevant.

That thing is harder to kill off than kudzu!
-- 
  "I feel sorry for the person who can't get genuinely excited
  about his work. Not only will he never be satisfied, but he will
  never achieve anything worthwhile."         -- Walter Chrysler

<Prev in Thread] Current Thread [Next in Thread>
Privacy Policy