Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
C++ Programming FAQ
Submit Interview FAQ
Home
»
Interview FAQ
»
C++ Programming
RSS Feeds
Which of the following will assign the value to the class member variable num? void getnum(int
Shared By:
Gabriel Silva
Date:
Jul 15
Category:
C++ Programming
Views:
879
Answer:
Options
a) {num=a};
b) {num=a;}
c) {a=num};
d) {a=num;}
Answer : b) {num=a;}
Share:
Previous Post:
Which OOP feature can be enabled by using private declaration for the class members?
Next Post:
Which of the following is not true about member functions?
Didn't find what you were looking for? Find more on
Which of the following will assign the value to the class member variable num? void getnum(int
Or get
search suggestion and latest updates
.
Related Topics:
How will you assign value ‘5’ to the variable ‘x’ inside a member function using this pointer?
Identify all the members of the following class xyz:
Define a namespace called ‘samplespace’, which includes a member variable,namely ‘p’
By default, the members of a class are
Which class does define the member function put()?
Which of the following is not true about static member variable?
which class members does the derived class inherit from base class? - select option
Identify the variables, which are local to the following function
If a class contains the objects of another class as its members, then it is known as - Select
Which of the following would assigns the string “welcome” to the second constructor? - Select
Which of the following does a derived class inherit from a base class?
Which OOP feature can be enabled by using private declaration for the class members?
What is the general format of calling a static member function using a class name?
Which functions can have access to the private and protected members of a class?
Which overloads a unary minus operator and returns no values - Select option
Which of the following will be used to access the two entries, namely key and value of the map?
Does C# support a variable number of arguments?
Identify the valid variable name from which options
The declaration of global variables must be made in which option
Which of the following code would read a line of text from char type variable, book[20]?
Your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
Tagged:
which
of
the
following
will
assign
value
to
class
member
variable
num
void
getnumint
Assembly Language
Artificial Intelligence
C Programming
C++ Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint