You are not logged in.

#1 2017-07-31 06:54:02

Ibraheem
Webmaster
From: Capital
Registered: 2012-03-16
Posts: 23,140
Website

C / C++ Programming Language Quiz Question.

Programming Languages Quizzes C / C++ Programming Language

Question:
If you declare two objects as Customer firstCust, secondCust; which of the following must be true?

Option A):
Each object will be stored in the same memory location
Option B):
Each object will have a unique memory address
Option C):
Each object's nonstatic data members will be stored in the same memory location
Option D):
You cannot declare two objects of the same class

Correct Answer is Option B):
Each object will have a unique memory address

2017-07-31 06:54:02

Advertisement
Ads By Google

Re: C / C++ Programming Language Quiz Question.



\n

Board footer