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

Sneha said:   1 decade ago
What is Pre ANSI C Notation please explain with syntax ?

Manish singh said:   1 decade ago
thanks..N.Muthu Kumar...to explane about these notations

Riya said:   1 decade ago
Can anyone give me the example of Pre ANSI C notation?

Satya said:   7 years ago
Here, What is the difference between option A & C?

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

Madhuri said:   1 decade ago
I didn't find any difference between KR and ANSI.

Anu said:   8 years ago
What is KR notation and pre ansi notation?

Vinay said:   1 decade ago
Thanks for nice explaination to Mahender.

Sunita said:   1 decade ago
What is the KR Notation please tell me ?

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


Post your comments here:

Your comments will be displayed after verification.