What is the Difference between "vector" and "array"?
Answer Posted / guest
a vector is also like an array i.e sequentially accessed but
we can increase/decrease size of a vector in a simple way
than it is done for arrays.
| Is This Answer Correct ? | 79 Yes | 39 No |
Post New Answer View All Answers
What is binary object model?
Describe the process of creation and destruction of a derived class object?
Can create new c++ operators?
What are the types of array in c++?
Describe the advantage of an external iterator.
How do you clear a set in c++?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h
What is difference between c++ 11 and c++ 14?
What is lambda expression c++?
Describe new operator and delete operator?
What is the exit function in c++?
Write a Program for dynamically intialize a 2 dimentional array. Eg:5x20, accept strings and check for vowels and display the no.finally free the space allocated .
What is do..while loops structure?
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == ) y-= 7; else y = 8; if the value of x is 4 before the nested IFs are executed, what is the value of y after the nested IFs are executed?