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 ?
Do u any one having Idea on Indocen Electronics. That is in
Mumbai. I got an offer from that. Is that company is good or
not. I am little bit confused on it. Please provide me the
information.
272
y u looking for a job in it field sinc u r a ece graduate.
In a UPSR what is the limit on the number of nodes that
form the ring?
197
i m i n3rd ye of btech EC branch and have been placed in
sftware company..wat sghd i do to improve my skills in 4th
yr..i have a gd academic background.
HI..!! I THINK THIS SITE IS AN EXCELLENT SOURCE FOR YOUNG
ENGINEERS, I READ THE POSTS REGARDING DIFFERENT PLACEMENT
PAPERS IT WAS INDEED HELPUFL...BUT FRM WHR CAN I GET THE
WHOLE APTITUTE PAPER FOR REFERENCE??