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.
Tony buys virtual machines from Microsoft azure and uses them solely for use by his community. A model of cloud computing is the public cloud
<h3>What is the public cloud?</h3>
A public cloud is a shadow deployment model where computing resources are owned and managed by a provider and shared across multiple tenants via the Internet.
These providers deliver their uses over the internet or through saved connections, and they use a whole pay-per-use approach. Each provider delivers a range of products oriented toward additional workloads and business needs.
To learn more about public cloud, refer to:
brainly.com/question/19057393
#SPJ4
Answer:
Answer to the following question is True.
Explanation:
The following statement is True because the Modern Language Association style is the particular type of format that is standard for essays or that papers which is for the research or writing other types of projects or papers in an academic setting. That's why It required for the cited works that should be in the alphabetic manner.
Answer:
LAN
Explanation:
Local Area Network infrastructure provides access to users and end devices in a small geographical area, which is typically a network in a department in an enterprise, a home, or small business.
Answer:
push, pop, top, clear
Explanation:
push: add a new value
pop: remove and return top value
top: return top value without removing
clear: remove all values