Cramster.com - Homework Solutions, Lecture Notes, Exams, and Free Online Homework Help
Sign Up Now! Login Customer Support Cramster Blog
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:

MCQ's Urgent (with in 5 - 10 Hours) Q3 and Q4 Plz help me

Know the answer? Have a better solution? Share it.
Sign Up Now for FREE!
Join the thousands of students
getting ahead in their classes.
Member Testimonials

Question:

Advertisement:

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

Member's Avatar

Expert
Karma Points: 899
Respect (99%):
Date Posted: 7/23/2008 3:37:10 AM  Status: Live
MCQ's Urgent (with in 5 - 10 Hours) Q3 and Q4 Plz help me
Course Textbook Chapter Problem
N/A N/A N/A N/A
Question Details:

If you post one question/problem, I will provide 1 input/answer. If you put "x" questions/problems, I will provide"x" inputs/answers.  In both cases, appropriate ratings are appreciated for every input. Thanks.

Answers:

Member's Avatar

Scholar
Karma Points: 201
Date Posted: 7/23/2008 3:47:39 AM  Status: Live
Asker's Rating: Helpful   
Response:
 

iii) B)Cout is standard output and cerr is not a standard output

 

iv)D)Creates a String object

Member's Avatar

Expert
Karma Points: 1,147
Date Posted: 7/23/2008 3:48:07 AM  Status: Live
Asker's Rating: Helpful   
Response:
Dear
 
i)Cout is a standard output and cerr is not standard output
ii)Creates array of 5 string objects dynamically

Member's Avatar

Mentor
Karma Points: 508
(SVITS , Indore)
Date Posted: 7/23/2008 3:48:35 AM  Status: Live
Asker's Rating: Helpful   
Response:
Answer 3 : Cout is a standard output and cerr is not a standard output.

Answer 4 :  Creates array of 5 String objects dynamically.


Never hesitate to ask a question & Never fear of answering a question !!

Member's Avatar

Guru
Karma Points: 2,214
Date Posted: 7/23/2008 3:58:05 AM  Status: Live
Asker's Rating: Lifesaver   
Response:
Q3:  cout is buffered output and cerr is unbuffered output

(From cppreference.com, http://www.cppreference.com/cppio/index.html)
cout, an object of the ostream class, which displays data to the standard output device.
cerr, another object of the ostream class that writes unbuffered output to the standard error device.

Q4: Creates array of 5 string objects dynamically - the keyword 'new' tells us that it will be dynamic.
smart_IT's Comment:
Thanks

cout << "Ex nihilio nihil fit" << endl; //C++
System.out.println("Tempus fugit"); //Java
msg: .ASCII "Noli me vocare, ego te vocabo\x00"   //ASM
main:    STRO   msg,d
            .END
            ZZ



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.