STL Interview Questions and Answers

STL Questions and Answers:

1 :: WHAT IS THE DIFFERENCE BETWEEN C++ AND VC++?

VC++ uses all C++ features. VC++ has GUI and it is user
friendly.It has many programming features
likeWin32, MFC, ATL, ActiveX, DLL's etc.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

2 :: Tell me What is the difference between thread and process?

Thread is a smallest unit of process. In process have one
or more thread.
0/5 Rating (0 vote)
Is This Answer Correct?    1 Yes 0 No
Place Your Answer

3 :: Write a c++ to define a class box with length, breadth and height as data member and input value(), printvalue() and volume() as member functions?

#include<iostream.h>
#include<conio.h>

class BOX
{
private:
int l,b,h;
public:
void input();
void print();
long volume(long,int,int);
};
void BOX::input()
{
cout<<"input values of l,b,&h"<<"\n";
cin>>l>>b>>h;
}
void BOX::print()
{
cout<<"volume="<<"\n";
}
void BOX::volume()
{
long volume(long l,int b,int h);
{
return(l*b*h);
}
}
void main()
{
set BOX b1;
b1.input();
b1.print();
b1.volume();
return;
}
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

4 :: What is electronic software?

it is a device
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

5 :: Why & sign is used in copy constructor?

To avoid local copy of object reference (&) is used in copy
constructor.
Moreover if the & is ommited then copy constructor goes in
infinite loop.
eg. if class name is Sample.

Copy constructor without &
Sample :: Sample (Sample s)
{
//Code goes here
}

and we create object as follows. ;
Sample s;
Sample s1(s);

In this scenario program will go in infinite loop.
0/5 Rating (0 vote)
Is This Answer Correct?    0 Yes 0 No
Place Your Answer

Rate This Category:
0/5 Rating (0 vote)
Place Your Question



Top: STL Interview Questions and Answers
STL Interview Questions and Answers

Top Frequently Asked STL Question
Frequently Asked STL Job Interview Question


Top Frequently opened Computer Programming Job Interview categories
Most popular Computer Programming Job Interview categories

Comments About STL Interview Questions and Answers

Share your valuable opinions, ideas and suggestions about STL Interview Questions and Answers
While placing your comment your email address is required but won't be published any where else; Personal information will be kept confidential; we do not sell or release our respective visitors private information.
  1. Webmaster 23rd of May 2012

    Webmaster Said

    Tell us what you feel about STL Interview Questions and Answers
    All comments will be published after review. No login or registration is required to post a comment on STL Interview Questions and Answers We offer and invite you to submit your valuable comment now; Please be respectful of others when commenting. Insulting others, self-promotional comments, website promotional comments, marketing stuff, SEO Techniques, SMS-style content and off-topic comments will not be approved at this information portal.
    So start sharing your thoughts regarding STL Interview Questions and Answers
    Thank you.

Leave a Comment

Leave a Comment
  1.  Enter This Verification Code  Regenerate Verification Code  



Your reply will be added to the comment above (Below any other replies to this comment) -

Top Comments About: STL Interview Questions and Answers
Comments on STL Interview Questions and Answers

 
Top of Link batk to STL Interview Questions and Answers
Link batk to STL Interview Questions and Answers