1.

How Does List R; Differs From List R();?

Answer»

Suppose that MEMBER is the name of some class. Then, function f() DECLARES a local member object called R: Example:


In the preceding CODE snippet, r is declared as a local variable and the other r() is declared as a function. That is the main difference.

Suppose that Member is the name of some class. Then, function f() declares a local member object called r: Example:


In the preceding code snippet, r is declared as a local variable and the other r() is declared as a function. That is the main difference.



Discussion

No Comment Found