TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Vyankatesh Suryawanshi
NA
24
0
How does memory get allocated to class member variables?
Aug 8 2009 4:16 AM
please clear me in this basic issue.
when the memory will be allocated to class member variables?
Kindly, note here that I am only concerned about class member variables memory allocation and not class object.
Is it at compile time or runtime?
eg:
class one
{
public:
int i;
//
Where will it get stored on Stack or Heap?
private:
one();
onemore();
}
int main()
{
one ob1;
retun 0;
}
Thanking you,
VyankateshS.
Reply
Answers (
1
)
WinCE 6 / Send keystrokes
Response.Write poblm