I am stuck up with a question on appending of two arrays
I am writing the code for the same, I am appending two
strings this way
int main()
{
string s1 = "Welcome to C++";
string s2 = "C++ improves the logic ability";
string s3 = s1 + s2;
cout<<s3<<endl;
}
But if I go ahead with the integer datatype , it doesnt work
int main()
{
int arr[4] = {2,3,4,5};
int arr1[4] = {6,7,8,9};
int arr3[9] ;
arr3 = arr + arr1;//displays error
arr3 = arr ++ arr1; // works properly
}
Can anyone please clear my doubt in this question ?
No Answer is Posted For this Question
Be the First to Post Answer
We take the area of collector wide comparison to base and emitter. Why?
Why TV transmission is carried out in the UHF and VHF bands?
how either analog or digital transmitted through fiber optic cables in the form light signal?
State the difference between ac and dc voltage.
Explain the differences between microprocessor and micro controller?
Tell me why Up link Frequency is more than Down link frequency.?
Explain find conductivity, resistivity and resistance?
What are the effects of ageing or using second hand IC or other electronic components?
Define buck boost converter.
How α and β are related to each other?
I heard that Apple's laptop usese micro controler whereas others use microprocessors... i learnt tat.. micro controller is nothing but an association of microprocesor with other elements like temperature sensor,timer etc...can anyone explain me this much more in simpler words...
Explain what does the arrow head represent in the schematic symbol of a p-n junction?
Civil Engineering (5086)
Mechanical Engineering (4456)
Electrical Engineering (16639)
Electronics Communications (3918)
Chemical Engineering (1095)
Aeronautical Engineering (239)
Bio Engineering (96)
Metallurgy (361)
Industrial Engineering (259)
Instrumentation (3014)
Automobile Engineering (332)
Mechatronics Engineering (97)
Marine Engineering (124)
Power Plant Engineering (172)
Textile Engineering (575)
Production Engineering (25)
Satellite Systems Engineering (106)
Engineering AllOther (1379)