Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
How do I initialize a pointer to a function?
How do I initialize a pointer to a function?
✍: Guest
This is the way to initialize
a pointer to a function
void fun(int a)
{
}
void main()
{
void (*fp)(int);
fp=fun;
fp(1);
}
2012-03-12, 3076👍, 0💬
Popular Posts:
How To Avoid the Undefined Index Error? - PHP Script Tips - Processing Web Forms If you don't want y...
Assuming that the structure of a table shows two columns like this: --------+------------+-- ----+---...
How To Decrement Dates by 1? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a...
How To Dump the Contents of a Directory into an Array? - PHP Script Tips - Working with Directoris a...
How can you write a loop indefinitely? Two examples are listed in the following code: for(;;) { ... ...