Vidyalelo
C++ Programming · Q358

C++ miscellaneous

Programming · C++ Programming · question 358

Q358

Which of the following is the correct syntax of using pair p?

A.
pair <type,type> p;
Answer
B.
pair p <type,type>;
C.
pair [type,type] p;
D.
pair p [type,type];

Answer: Option A

Solution

Answer: Option A
No explanation is given for this question Let's Discuss on Board