How do you initialize function pointers? Give an example?
Answer Posted / vadivel t
Sorry the above function pointer declaration should be like
this
(*pfunc)(int, int);
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
to print the salary of an employee according to follwing calculation: Allowances:HRA-20% of BASIC,DA-45% of BASIC,TA-10%. Deductions:EPF-8% of BASIC,LIC-Rs.200/-Prof.Tax:Rs.200/- create c language program?
What does malloc () calloc () realloc () free () do?
What is include directive in c?
What is string function in c?
Is c weakly typed?
What is the difference between union and structure in c?
Explain what header files do I need in order to define the standard library functions I use?
How to write a code for reverse of string without using string functions?
Why c language is called c?
#include show(int t,va_list ptr1) { int a,x,i; a=va_arg(ptr1,int) printf(" %d",a) } display(char) { int x; listptr; va_star(otr,s); n=va_arg(ptr,int); show(x,ptr); } main() { display("hello",4,12,13,14,44); }
Which programming language is best for getting job 2020?
Why is it usually a bad idea to use gets()? Suggest a workaround.
What is meant by errors and debugging?
Are the outer parentheses in return statements really optional?
hi any body pls give me company name interview conduct "c" language only