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 6 of 6.

Arun said:   1 decade ago
Any one can explin it in proper manner?

Inam said:   1 decade ago
Please some one explain it properly.

N.Muthu Kumar said:   1 decade ago
There are many standard notations there like Ansi, Pre-Ansi, KR notations. These are nothing but, the specification or representations of methods in a standard format developed at MIT's. That's it. C compiler supports both of these.

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

Smile vairam said:   1 decade ago
What is KR notation. ? Can you anyone explain it. ?

Jamuna said:   1 decade ago
Can anyone explain these 2 notations?

Ramya said:   1 decade ago
What is kernighan and ritche notation?

Tim said:   1 decade ago
Both C and D are correct, technically, since ANSI C did not exist prior to the Kernighan & Ritchie language definition.

Vishnu said:   1 decade ago
Anybody Please explain what are these notation... thanks in advance.


Post your comments here:

Your comments will be displayed after verification.