Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
what are instance variable in c++ ?
#1
what are instance variable in c++ ?
Reply
#2
Variables associated with the instance of a class are called instance variables. Whenever a class is instantiated, the runtime system creates a separate copy of each instance variable defined by the class. Therefore, each instance of a class has its own copy of all instance variables defined by the class.

0300-9520262
Get solution in 24 hour
|cpmputer & internetConfusedmileys81:[SIZE="4"][SIZE="3"]....[/SIZE][/SIZE]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Variable Access Speed in C++ Vuhelper 0 1,029 06-12-2011, 07:23 PM
Last Post: Vuhelper
  static variable is called the global veriable ? saneha 1 1,889 05-02-2011, 06:51 AM
Last Post: Vuhelper
  Static Variable in c++ 2011 saneha 1 2,416 04-29-2011, 08:32 AM
Last Post: Vuhelper
  character variables and assignment contain characters variable requirement sana.pari 1 3,394 04-24-2011, 06:20 PM
Last Post: Support
  Regarding variable declaration, i know about interger types sana.pari 1 2,486 04-24-2011, 05:12 PM
Last Post: Xpert

Forum Jump:


Users browsing this thread: 1 Guest(s)