What are function pointers? Provide an example.
Answer / nashiinformaticssolutions
Pointers to functions that allow dynamic invocation of functions. Example:
void (*funPtr)(int) = &printNumber;
| Is This Answer Correct ? | 0 Yes | 0 No |
Snake Game: This is normal snake game which you can find in most of the mobiles. You can develop it in Java, C/C++, C# or what ever language you know.
7 Answers Accenture, Gridco, IBM, Kevin IT, TCS, Vimukti Technologies,
const char * char * const What is the differnce between the above tow?.
What is c basic?
How to write a code for implementing my own printf() and scanf().... Please hep me in this... I need a guidance... Can you give an coding for c... Please also explain about the header files used other than #include<stdio.h>...
What does s c mean in text?
Can we assign integer value to char in c?
void main() { int i=5; printf("%d",i++ + ++i); }
What is fflush() function?
What is the purpose of realloc()?
write a program to compare 2 numbers without using logical operators?
What is the c language function prototype?
What is a protocol in c?