Logo 
Search:

C++ Programming FAQ

Submit Interview FAQ
Home » Interview FAQ » C++ ProgrammingRSS Feeds

What is the general format of calling a static member function using a class name?

  Shared By: Klarissa Schmidt    Date: Nov 02    Category: C++ Programming    Views: 977

Answer:

Options

a) class-name :: function-name
b) function-name :: class-name
c) class-name :: function-name;
d) function-name :: class-name;

Answer : c) class-name :: function-name;

Share: 
 



Your Comment
  • Comment should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].


Tagged: