Which one is suitable syntax for function template?


a. template< class T> return_type Function_Name(parameters)

b. template< typename T> return_type Function_Name(parameters)

c. both a and b

d. None of these












ANSWER: both a and b


No comments:

Post a Comment

The advantages of Outsourcing Web Development Services

In the present digital world, acquiring a solid web presence is essential for companies to flourish. A well designed site is much much more ...