1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Some questions i couldn't find answers of.

Discussion in 'C' started by pkbis28, May 27, 2010.

  1. pkbis28

    pkbis28 New Member

    Joined:
    May 25, 2010
    Messages:
    24
    Likes Received:
    0
    Trophy Points:
    0
    *what is meant by heterogeneous array?how can we differ a homogeneous&heterogeneous array?
    *How to find the current time of system(PC)using C ?
    *WHAT IS THE BINGO PROGRAM IN C LANGUAGE?
    *Why a function cannot be declared with in another function?
     
  2. singh_r85

    singh_r85 New Member

    Joined:
    May 25, 2010
    Messages:
    19
    Likes Received:
    0
    Trophy Points:
    0
    Cannot give all the answers but can give that of the following:
    Why a function cannot be declared with in another function?

    ANS:
    IF WE DECLAIRE FUNCTION IN ANOTHER FUNCTION THEN IT WILL BE ACCESSIBLE ONLY THIS BLOCK SO TO ACCESS FUNCTION IN ANY OTHER FUNCTION OR BLOCK OF PROGRAM IT SHOULD BE DECLARED OUTSIDE THE ANY OTHER FUNCTION i.e IT SHOULD be DECLARED GLOBALE.
     

Share This Page