Logo 
Search:

Interview FAQs

Submit Interview FAQ
Home » Interview FAQsRSS Feeds
C++ Programming
Comments: 0

What is Storage Structure in dfs (data file structure)?

The representation of a particular data structure in the memory of a computer is called a storage structure.
Posted By:Rhys Evans      Posted On: Mar 24

C++ Programming
Comments: 0

Which statement(s) is similar to the declaration of non-type template parameters?

Options

a) Pointer to member
b) Pointer to object or pointer to function
c) Reference to object or reference to function
d) All of the above

Answer : d) All of the above
Posted By:Emma Campbell      Posted On: Mar 22

C++ Programming
Comments: 0

Which overloads a unary minus operator and returns no values - Select option

Options

a) sample :: oper-() { };
b) void sample :: operator-() { }
c) void sample :: operator-() { };
d) sample :: operator-() { }

Answer : b) void sample : : operator-() { }
Posted By:Adalwolfa Fischer      Posted On: Mar 21

C++ Programming
Comments: 0

Which of the following is NOT true about pure virtual function?

Options

a) It is also called do-nothing function
b) It cannot declare its own objects
c) A virtual function, which is not equated to zero is called a pure virtual function
d) None of the above


Answer : c) A virtual function, which is not e...
Posted By:Lucas Bouchard      Posted On: Mar 20

C++ Programming
Comments: 0

What will be the output of the mentioned code?

5. Consider the following code segment:
void main()
{
int a,b;
string s1("aabbcc");
string s2("bbccaa");
a = s1.compare(4,2,s2,2,2);
b = s1.compare(0,2,s2,0,2);
if(a == 0)
cout<<"Equal , ";
else
cout<< "Not equal ,";
if(b ==0)...
Posted By:Irmgaard Miller      Posted On: Mar 19

C++ Programming
Comments: 0

What is garbage in dfs (data file structure)?

During the program execution blocks of storage that once were needed but which at some later time became unnecessary and unused are called garbage.
Posted By:Varick Fischer      Posted On: Mar 19

  74  75  76  77  78  79  80  81  82  83  84