Define function pointers?
Answer / preeti singh
A function pointer is a type of pointer that points to a
function, for e.g. a pointer to the function :
int fun(int a,int b)
can be declared as :
int(*myptr)(int a,int b);
here myptr is a type of pointer which can point to any
function which takes two integer arguments and returns int.
Is This Answer Correct ? | 5 Yes | 0 No |
what is the self-referential structure?
HOW CAN ADD OUR FUNCTION IN LIBRARY.
What is selection sort in c?
how can you print&scan anything using just one character? :) HINT: printf,scanf similer
What is the difference between array and pointer in c?
write a c program to find largest number in matrix(in each row,each column, diagonally, and in the whole matrix)? Its urgent.
application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above
any string of bits of length 'n' represents a unique non- negative integer between.............?
Write a program which has the following seven functions. The functions should be: • main() this calls the other 6 functions • fget_long() a function which returns a long data type from a file • fget_short() a function which returns a short integer variable from a file • fget_float() a function which returns a floating point variable from a file • fprt_long() a function which prints its single, long argument into a file • fprt_short() a function which prints its single, short argument into a file • fprt_float() a function which prints its single, floating point argument into a file. You should use fscanf() to get the values of the variables from the input (the file) and fprintf() to print the values to the other file. Pay attention to using the correct format for each of the data types.
how to go with this?
What is difference between structure and union in c?
What is structure and union in c?