Question:

What is syntax function of c

by  |  earlier

0 LIKES UnLike

What is syntax function of c

 Tags:

   Report

2 ANSWERS


  1. A function using the correct syntax.

    Dictionary definition of syntax (dictionary.com): Computers. the grammatical rules and structural patterns governing the ordered use of appropriate words and symbols for issuing commands, writing code, etc., in a particular software application or programming language.

    This basically means that you are using the correct format to write it -- there are no errors.

    Edit: You should be more clear if you meant "What is the syntax of a function in C".


  2. The syntax to create a function in C is:

    <return value> <functionname>(<parameter list>){}

    e.g.

    int multiply(int num1, int num2){return num1*num2;}

    ignore if that's not what you wanted...

Question Stats

Latest activity: earlier.
This question has 2 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.