DIGITAL JUICE ANIMATION
Programming and Technical
HR Interview
Interview
how to find how many times function called in program??without using any counter variable or any parameters???
Read Solution (Total 1)
-
- #include
static void (*f)(void);
void sum(void);
main()
{
void (*p)(void);
p=sum;
f=sum;
(*p)();
(*p)();
(*p)();
printf("%u
",f-sum);
}
void sum(void)
{
f++;
}
- 10 years agoHelpfull: Yes(0) No(0)
DIGITAL JUICE ANIMATION Other Question