C Programming - Functions - Discussion

Discussion Forum : Functions - General Questions (Q.No. 2)
2.
What is the notation for following functions?
1.  int f(int a, float b)
    {
        /* Some code */
    }

2.  int f(a, b)
    int a; float b;
    {
        /* Some code */
    }
1. KR Notation
2. ANSI Notation
1. Pre ANSI C Notation
2. KR Notation
1. ANSI Notation
2. KR Notation
1. ANSI Notation
2. Pre ANSI Notation
Answer: Option
Explanation:
KR Notation means Kernighan and Ritche Notation.
Discussion:
59 comments Page 5 of 6.

Ravikanth iiit-nuzvid said:   1 decade ago
What is the use of these notations?

Pravin said:   1 decade ago
What is the use of these notations?

Jerry said:   7 years ago
Nice explanations. Thank you all.

Sai said:   1 decade ago
Please. Tell us abt KR notation.

Harish Mahajan said:   7 years ago
What is KR, pre-ANSI notation?

Vijeta said:   1 decade ago
Thanks muthu and mahendra :).

Sandy said:   1 decade ago
Can you explain in detail. ?

Sachin said:   7 years ago
What is Pre ANSI notation?

SWETHA said:   1 decade ago
Please explain it clearly!

Snehal said:   1 decade ago
Explain pre-ANSI notation?


Post your comments here:

Your comments will be displayed after verification.