[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

C Program



Hi All!!

heres a piece of C code,

#include<stdio.h>

int add(int a, int b)
{
    printf ( "\n I am there \n" );
}

main()
{
    printf("\n%x",add);
    printf("\n%x",*add);
    printf("\n%x",*(*(*(*add))));
}

The Compiler does not crib. The program gets built and
the result prints the same value for all the above three printfs.
What can be the probable reason ?

TIA!!

Cheers
Rajani