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 ?
Can u please post some questions of MTNL junior telecom officer
exam?
212
Is it possible to calculate a voltage for microwave energy
generating in oven?
Is there any formula relating frequency and voltage and it
should be independent of speed?
29
i will be attending the HAL MANAGEMENT TRAINEE(TECHNICAL )
exam ,please i want previous years question papers of HAL
in e&c.