subject

Implement the functions specified by the prototypes. The purpose of this problem is to sort a 1-dimensional array of characters. Specify the size of the array and input the array. If the array is longer than specified, output if it is larger or smaller. Utilize the outputs supplied in main(). Example supplied in 2 test cases. STDIN554321STDOUTRead in a 1-dimensional array of characters and sort Input the array size where size ≤ 20 Now read the Array 12345#include //cout, cin#include //strlen()using namespace std;//User Libraries Here//Global Constants Only, No Global Variables//Like PI, e, Gravity, or conversions//Function Prototypes Hereint read(char []);void sort(char [],int);void print(const char [],int);//Program Execution Begins Hereint main(int argc, char** argv) {//Declare all Variables Hereconst int SIZE=80;//Larger than neededchar array[SIZE]; //Character array larger than neededint sizeIn, sizeDet;//Number of characters to be read, check against length //Input the size of the array you are sortingcout<<"Read in a 1 dimensional array of characters and sort"<>sizeIn; //Now read in the array of characters and determine it's sizecout<<"Now read the Array"<

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:40
Write an assembly program with the following specifications.a). in the main block, you should have two registers r4 and r5. they should be checked in an infinite loop. if r4 is greater than r5, then the greater subroutine will be called. if r4 is less than r5, then the less subroutine will be called. if r4 equals r5, then no operations will be done
Answers: 1
question
Computers and Technology, 22.06.2019 14:30
Hi plz 11 ! when planning a table, what step comes first: "define the column headers" or "calculate the number of columns/rows"? a. calculate the number of columns/rows b. define the column headers
Answers: 1
question
Computers and Technology, 22.06.2019 22:20
Avariable of the data type arrays is storing 10 quantities. what is true about these quantities? a. the quantities all have different characteristics. b. the quantities all have the same characteristics. c. five quantities have the same and five have different characteristics. d. it is necessary for all quantities to be integers. e. it is necessary for all quantities to be characters.
Answers: 2
question
Computers and Technology, 22.06.2019 22:40
Write a program that defines symbolic names for several string literals (chars between quotes). * use each symbolic name in a variable definition. * use of symbolic to compose the assembly code instruction set can perform vara = (vara - varb) + (varc - vard); ensure that variable is in unsigned integer data type. * you should also further enhance your symbolic logic block to to perform expression by introducing addition substitution rule. vara = (vara+varb) - (varc+vard). required: debug the disassembly code and note down the address and memory information.
Answers: 3
You know the right answer?
Implement the functions specified by the prototypes. The purpose of this problem is to sort a 1-dime...
Questions
question
Mathematics, 27.09.2019 19:30
question
Physics, 27.09.2019 19:30
question
English, 27.09.2019 19:30