User Comments for the tutorial:

C Pointer to a function

Total comments: 1      View Tutorial    Discuss: C Pointer to a function



error =declaration terminated incorrectly
#include <stdio.h> #include <conio.h> int mul(int a,int b); main() { int a,b,c; a=5; b=10; c=mul(a,b); printf("multiplication of %d and %d is %d",a,b,c); return (0); } int mul(int x, int y); { int p; p = x*y; return (p);  

Related Tutorial and Articles
Programming Tutorials

; The Function Pointer Tutorials Function Pointers provide some... other tutorials, such as C++: Annotations by Frank Brokken and Karel Kubat...; The CPlusPlus Language Tutorial These tutorials explain the C++ language 


C Tutorials
pointers.   C Pointer to a function C... C Tutorials       In this section we have given large number of tutorials on C 


Site map - C Tutorials
Multiple Indirection | C Pointer to a function | C String Remove Spaces | C...; C Tutorials  | Java Tutorials | PHP Tutorials  | Linux...; | XPath Tutorials | HTML Tutorials C Tutorial Section C String Reverse 

Development process Questions

Function pointer in c
Function pointer in c  What is the difference between function call with function pointer and without function pointer(normal function call 

C Tutorials

C Pointer to a function
C Pointer to a function   ...; function in C. C provides a special feature of  pointer to a function... to a function is the declaration of pointer that holds the base address 

Java Beginners

variable declaration in c and c++
variable declaration in c and c++  Comparison and an example of variable declaration in C and C 

IoC Questions

c-language pointer functions
c-language pointer functions  what is the execution process of character pointer functions with example 

Development process Questions

c++  write a prgrm tht accepts 3 integer values,then with a function to swap the values 

Ajax Questions

Main function parameter in C language - Ajax
Main function parameter in C language  Please let me know how...==NULL) perror ("Error opening file"); else { c = fgetc (pFile...; Hi Friend, int main(int argc, char **argv) The main function serves 

Development process Questions

c++  .write a program that accepts 5 subjects of a student,it should have a function to calculate the average & another function to grade.grade should be as follows-<40=E,40-49=D,50-59=C,60-69=B & >70