Friday 13 November 2009

Function standards in C programming

There are two types of function parameter standard:1. ANSI standardIn this standard function definition is written asint calculate(int a, int b){    int c;    c=a+b;    return c; } This standerd is also called as modern style.2. K and K standardint calculate(a, b)int a,b;{    int c;    c=a+b;    return c; } This standard is also called as old style.You should also known this style if you want to

No comments:

Post a Comment