"How will you merge these two arrays? Write the program Array: A 1 18 22 43 Array: B 3 4 6 20 34 46 55 Output Array: C 1 3 4 6 18 20 22 34 43 46 55"
9 24004Memory is not a constraint. In a single iteration(NOTE: you can't go back), how will you find out the 10th last node/item in a linked list.
BNB, FDS, Goldman Sachs, Nagarro,
16 27239this is to swap to strings....but in output the whole
strings are swapped leaving first as it is...why it is so
#include
if i want cin 12345678910 and cout abcdefghij. so how can i create the program?. example : if i key in 8910 so the answer is ghij.
3 5927Write a program that read 2o numbers in and array and output the second largest number. Can anybody help??
7 10616In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest.
GE,
5 8264Consider a c++ template funtion
template
what is the size of this class class size { public: char data1; double d; int data2; char data3; double data4; short data5; }; please explain the padding for these double variables.
9 11186Post New C++ General Questions
Explain how overloading takes place in c++?
What is object file? How can you access object file?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is the difference between public and private data members?
What do you mean by delegate? Can a user retain delegates?
True or false, if you keep incrementing a variable, it will become negative a) True b) False c) It depends
What problems might the following macro bring to the application?
What are virtual constructors/destructors?
What is stoi in c++?
What do you mean by persistent and non persistent objects?
How to access a variable of the structure?
What is the main purpose of c++?
Which one between if-else and switch is more efficient?
What's the hardest coding language?
Is linux written in c or c++?