answersLogoWhite

0

Function in c

Updated: 8/17/2019
User Avatar

Wiki User

9y ago

Best Answer

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)

User Avatar

Wiki User

16y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

9y ago

A function is a small set of instructions designed to operate on its given input. And perform some actions or return some output.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Function in c
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is C and function it?

It is a letter and function it.


Main function in c?

The main function defines the entry point of an application in C.


What are the building function in c plus plus?

There is no such term as "building function" in C++.


How do you use this function in c programme?

I don't use that function in C programme.


What is the differnce between ordinary function and template function of c language?

The c language does not have template functions. That is a c++ thing.


Who is calling main function in c?

in c main function initailly called by operating system.


What is main function used in c?

if you do not used main function in c program when errors are accrued


Can a Horizontal line represent a function?

Yes. It is the function f(x) = c where c is a constant.


What is a linear function?

A function of the form f(x) = mx + c where m and c are constants is linear.


Function prototype in c?

Yes. Examples can be found in stdio.h


Which is the function which destroys objects in C?

No objects in C. For C++, it is destructor.


What are the library function in c language?

libray in c++