Question
What are the following two notations of defining functions commonly known as :
1. int f(int a, float b)
{
/* Some code */
}
2. int f(a, b)
int a; float b;
{
/* Some code */
}
Answer: Option C
Was this answer helpful ?
The first one is known as ANSI notation and the second one is known as kernighan and Ritchie or simply K&R notation.
Was this answer helpful ?
Submit Solution