Home / MCQ Bank / Computer
Computer Structures And Unions In C Plus Plus

What is the correct syntax to define a union in C++?

Select the best option to verify your answer:
Show Correct Answer
Correct Answer: Option A • union unionName { /* members */ }

Related Computer Questions

Which of the following keyboard shortcut is used to open the Downloads window in Chrome browser? What is meant by physical size in a dynamic array? In which scenario would you prefer to use an array over a linked list? What is the result of the following code snippet? try { throw new NullPointerException(); } catch (ArithmeticException e) { System.out.println("Arithmetic Exception!"); } catch (NullPointerException e) { System.out.println("NullPointerException!"); } What type of RJ45 UTP cable is used between switches?