Cramster.com - Homework Solutions, Lecture Notes, Exams, and Free Online Homework Help
Sign Up Now! Login Customer Support
McAfee Secure sites help keep you safe from identity theft, credit card fraud, spyware, spam, viruses and online scams
Problem Solved.
    Home    
    Homework Help    
   Answer Board   
    Resources (Beta)    
   
Member's Topic Headline:

Short Question On C++

Know the answer? Have a better solution? Share it.
Get Help Now.
View homework problems
explained for free!
Member Testimonials

Question:

Advertisement:

Answer | Ask New Question | Customize Profile | Leaderboards | 
FAQ

Member's Avatar

Rookie
Karma Points: 0
Respect (40%):
Date Posted: 7/23/2008 2:07:01 AM  Status: Live
Short Question On C++
Course Textbook Chapter Problem
N/A N/A N/A N/A
Question Details:

If we have a program that writes the output data (numbers) to the disc and if we collect the output data and write it on the disc in one write operation instead of writing the numbers one by one.

In the above situation the area where we gather the number is called

 

 Heap

 Stack

 Buffer

 Cache


 

 

 

Consider the following code segment.

String str[5] = {String(“Programming”), String(“CS201”)};

 Default constructor will be called for all 5 objects

 Parameterized constructor will be called for all 5 objects

 Parameterized constructor will be called for first 2 objects

 Default constructor will be called for first 2 objects


Answers:

Member's Avatar

Expert
Karma Points: 954
Date Posted: 7/23/2008 4:01:12 AM  Status: Live
Asker's Rating: None Provided    Moderator's Rating: N/A
Response:
Dear
 
Buffer
 
Default constructor will be called for first 2 objects

Member's Avatar

Pupil
Karma Points: 61
Date Posted: 7/23/2008 4:45:45 AM  Status: Live
Asker's Rating: None Provided    Moderator's Rating: N/A
Response:
1- Buffer
2- Default construter will be called for first 2 objects



By reading or posting messages on these forums, you are agreeing to the Answer Board's Terms of Service and Conduct (TSC).


About Cramster | Terms of Use | Privacy Policy | Contact Us | Press Room | Site Map | Support | Anti-Cheating Policy

Cramster.com is not affiliated with any publisher. Book covers, title and author names appear for reference only.
Copyright © 2008 Cramster, Inc.