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

Khan Fatema said:   10 years ago
What is the mean of all these notation?

Sujith shetty said:   1 decade ago
How structures are initialize? Explain.

Ramesh.m said:   1 decade ago
What is kernighan and ritchie notation?

Ram said:   1 decade ago
@Mahender: good explanation. Thank you.

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

Silpa said:   9 years ago
Good explanation @Mahender. Thank you.

Avinash said:   9 years ago
Please explain the notation properly.

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

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

Anjali pandey said:   1 decade ago
Please explain about this notation.


Post your comments here:

Your comments will be displayed after verification.