Thread: use of static function

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    6

    use of static function

    A static function
    a) accesses external functions that reside in separate files.
    b)limits its scope to the file it resides in.
    c) accesses external functions that reside in one specific file.
    d)limits its scope to the variable it resides in.
    e)I don’t know

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    What do you think?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    Registered User
    Join Date
    Sep 2008
    Posts
    53
    i have a tread on the same question here.
    static keyword and headers. help me understand.

    try study the answer.

  4. #4
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    Hii for all....

    Please help me by answering these questions...please dont mind...thank you

  5. #5
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Help yourself out first. Do you know of the answer? Are you having difficulty understanding it?
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  6. #6
    Woof, woof! zacs7's Avatar
    Join Date
    Mar 2007
    Location
    Australia
    Posts
    3,459
    The answer is e).

    Because obviously you don't know.

  7. #7
    Registered User
    Join Date
    Apr 2009
    Posts
    6
    hi ,zacs7


    why are you discouraging me? i tried to find these answers..but i didnt... thats why i posted here..please help me if u dont mind

  8. #8
    Registered User
    Join Date
    Apr 2009
    Location
    Turkey
    Posts
    12
    Quote Originally Posted by natrajdreams View Post
    Hii for all....

    Please help me by answering these questions...please dont mind...thank you
    I suggest you to check out this:

    Google

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 08:18 PM
  2. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  3. [GLUT] Pointers to class methods
    By cboard_member in forum C++ Programming
    Replies: 13
    Last Post: 02-16-2006, 04:03 PM
  4. Please Help - Problem with Compilers
    By toonlover in forum C++ Programming
    Replies: 5
    Last Post: 07-23-2005, 10:03 AM
  5. Tab Controls - API
    By -KEN- in forum Windows Programming
    Replies: 7
    Last Post: 06-02-2002, 09:44 AM