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 |
What are external variables in c?
what is difference between ANSI structure and C99 Structure?
I have one doubt. What does below statement mean? #define sizeof(operator) where operator can be int or float etc. Does this statement meaningful and where it can be used?
what is the difference b/w NULL and null?
Write a programe print the sum of series 0,1,2,.....10
Write a program to reverse a linked list in c.
what is the difference between structure and union?
Can you mix old-style and new-style function syntax?
What is meant by preprocessor in c?
Identify the correct argument for the function call fflush () in ANSI C: A)stdout B)stdin C)stderr D)All the above
why return type of main is not necessary in linux
main() { int i; printf("%d",scanf"%d",&i))//if the input is 12 24 34 then wat will be the output }