adplus-dvertising
frame-decoration

Question

The main ( ) function must be declared

a.

As a non-member function

b.

In the global namespace

c.

At the end of a program

d.

Both a and b

Answer: (d).Both a and b

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. The main ( ) function must be declared