Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
No Answer is Posted For this Question
Be the First to Post Answer
What is the difference between inline functions and macros?
What are pointers used for c++?
Explain what you mean by a pointer.
What is a template in c++?
what is the order of initialization for data?
10 Answers Amazon, TCS, Wipro,
What is the difference between passing by reference and passing a reference?
What is the rule of three?
How to access a variable of the structure?
What is istream and ostream in c++?
What type of question are asked in GE code writing test based on c++ data structures and pointers?
1. What does the following do: void afunction(int *x) { x=new int; *x=12; } int main() { int v=10; afunction(&v); cout<<v; } a) Outputs 12 b) Outputs 10 c) Outputs the address of v
How do you initialize a string in c++?