answersLogoWhite

0

How can a procedure be defined in C?

Updated: 8/19/2019
User Avatar

Wiki User

13y ago

Best Answer

ProcedureName (type Arg1, type Arg2, ..., type ArgN) {

/* procedure body */

return;

}

Procedure is a Pascal term that means the same a function in C/C++

It is better to use the C/C++ terms then there is no confusion.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can a procedure be defined in C?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can a procedure be defined in C plus plus?

A procedure is simply a function in C++, therefore you define procedures just as you would any function. In some languages, a procedure is not a function as such, insofar as there is no return type. The C++ equivalent would therefore be a function that returns void.


Definition of Looping in c and c plus plus?

Looping means you repeat a particular procedure a specified number of times or until a defined condition is met.


Can a C plus plus user defined function return a value?

Absolutely. Indeed, any function (user-defined or built-in) that does not return a value is not really a function, it is simply a procedure.


Governance is defined as?

D. A procedure for enforcing rules


Which procedure is defined as listing everything that comes to mind on a subject?

Brainstorming is the procedure defined as listing everything that comes to mind on a subject without evaluating or censoring ideas.


What is typical procedure before c section?

repeat c section procedure code


How is sigma defined?

Six sigma is a management technique, procedure, and assessment.


What is the difference between procedure and algorithm?

A procedure can go on forever.Where as an Algorithm, will eventually terminate and will have each step precisely defined.


How long after a D and C procedure can you try to conceive again?

how long after a d and c procedure normal periods come


What is the export procedure of ready made garments in India?

There is not a defined export procedure of ready made garments in India. The procedure depends on the policy of the company exporting the clothing.


What are the pre-defined function in c plus plus?

The C++ standard library contains all the pre-defined functions.


C language using list?

C is a programming.it is defined by the c language