Submitted Questions

  • What is the differece between #define and constant in C?

    suresh

    • Aug 31st, 2006

    Scope of both #define and constant will be differ.        #define will be accessed by whole of the program.   but if u declare constant inside any of the f...

    shaanxxx

    • Aug 20th, 2006

    Macro will be part of the code. 'const' can behave as a macro or it may behave a normal variable(memory allocated in data segment). const behaviour is compiler depndent.