venky said:
Hi all,
I'm new to group n c. i want to know in detail about volatile qualifier
and pointer to functions with examples.
thank you
For a better and exhaustive explanation look through
http://www.c-faq.com
The keyword
volatile allow you to declare variables (or pointers
to data) which you promise not to change, (or which might change in
unexpected ways behind the program's back.) A nice example would be
some variable in your routine, which is to be accessed by the
clock-routine of the system and constantly updated.This variable is not
supposed to be accessed or modified in scopes internal to your
program;rather is done externally!!
Regarding pointers to functions too look through same link!!
I would recommend you to go through Clockwise/spiral Rule of
complicated declarations and working of "cdecl".
Hope it helps!!