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
Dear concern Plz provide me the solved papers of Railway section engineer in signal...
how we can make the connection among the phones?
If we have 450 mm height boiler drum level, so what is span & zero value for a dpt transmitter?
What are the applications of a csi?
i am prepared to sectionengineer exam so which books are referd for that exam pls tell me
What are the requirements for producing sustained oscillations in feedback circuits?
Define nyquist criteria.
What is an excess-3 code?
Explain what is an operational amplifier?
What are the two types of control strategies?
In india What are the best institutes for telecom job oriented training,am b.tech e.c.e fresher?
how to convert the plain text into cipher text
Civil Engineering (5086)
Mechanical Engineering (4453)
Electrical Engineering (16638)
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)