Answer: Digital Paintings
Well in my opinion is that yes they do. The ability to be able to communicate with others so far way really helps society advance towards the future. And i cant stress of how the benefits of being able to share ideas with well anyone is so wonderful.
I hope this helps.
The CPU executes arithmetic and logic operations in the arithmetic and logic unit (ALU).
<h3>What is an ALU, or an arithmetic and logic unit?</h3>
- A combinational digital circuit known as an arithmetic logic unit computes arithmetic and bitwise operations on integer binary integers.
- A floating-point unit, on the other hand, works with floating-point numbers.
- The component of a central processing unit known as an arithmetic-logic unit performs arithmetic and logic operations on the operands in computer instruction words.
- An Arithmetic Logic Unit (ALU) is a component found within computers that can execute logical operations in addition to arithmetic operations, such as AND, OR, Ex-OR, invert, etc (e.g. Addition, Subtraction, etc.).
To learn more about arithmetic and logic unit (ALU), refer to:
brainly.com/question/7994884
#SPJ4
Explanation:
#include<iostream>
#include<string.h>
using namespace std;
char *removestring(char str[80])
{
int i,j,len;
len = strlen(str);
for( i = 0; i < len; i++)
{
if (str[i] == ' ')
{
for (j = i; j < len; j++)
str[j] = str[j+1];
len--;
}
}
return str;
}
int main ()
{
char str[80];
cout << "Enter a string : ";
cin.getline(str, 80);
strcpy(removestring(str), str);
cout << "Resultant string : " << str;
return 0;
}
In this program the input is obtained as an character array using getline(). Then it is passed to the user-defined function, then each character is analyzed and if space is found, then it is not copied.
C++ does not allow to return character array. So Character pointer is returned and the content is copied to the character array using "strcpy()". This is a built in function to copy pointer to array.
Answer:
square brackets [ ] operator
Explanation:
<h2><u>Multiple choice</u></h2>
A reason to overload the<u> square brackets [ ] operator </u> is to write classes that have array-like behaviors