C++ Struct Exercises
C++ Level 4 Questions Organized by Knowledge Points C++ Struct Question 1 Question: Which of the following options is correct regarding struct initialization? ( ) cppRun struct Point{int x,y;}; Options: A. Point p = (1,2); B. Point p = {1,2}; C. Point p = new {1,2}; D. Point p = <1,2>; Answer:B Explanation: In C++, … Read more