Asked in
Computer Programming
C Programming
C++ Programming

Functions in C?

Answer

User Avatar
Wiki User
June 08, 2007 2:46AM

declaring:

myType1 functionName (myType2 arg0, myType3 arg1, myType4 *pointer2) {

//any statement

reture somewhat //somewhat is of type myType1

}


calling the function:

functionName (arg0, arg1, &pointer2)