Answer:

Explanation:
Given

Required
The result when
and
Analyzing the given instruction
a*=(++a)/(6)+(b++3)
Single out and solve the expressions in bracket
(++a) = a -- When the ++ operator appears before an operand, it is called pre increment. meaning that the operation will be done before the operand will be incremented.
So: in this case: ++a = a

The operator, as used in that statement is the same as: b + 3.
So:





The above expression is calculated as:

So:


The number of memory words used to store the string "rainbow" is 8.
Answer:
#include <iostream>
using namespace std;
int main()
{
string str;
cout<<"Enter the string: ";
cin>>str;
for(int i=0;str[i]!='\0';i++){
if(str[i]=='e'){
str[i]='x';
}
}
cout<<"the string is: "<<str<<endl;
return 0;
}
Explanation:
First, include the library iostream for using the input/output instructions.
Create the main function and declare the variables.
Then, use the cout instruction and print the message on the screen.
cin store the string enter by the user into a variable.
After that, take a for loop and if-else statement for checking the condition if the string contains the 'e', then change that alphabet to 'x'.
This process continues until the string not empty.
Finally, print the updated string.
Answer:
Data is the correct answer