subject

Consider the following function:void reverse(char * string1, const char * string2){int stringsize = sizeof(string1)/sizeof(char);*(stri ng1 + stringsize - 1) = '\0';string1 = string1 + stringsize - 2;for (; *string2 != '\0'; --string1, ++string2) {*string1 = *string2;}}What method does the function use to refer to array elements?

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 21:30
Write a function named printfloatrepresentation(float number) that will print the floating point representation of a number using the format given below. (sign bit) exponent in binary (assumed bit).significandfor example if the number passed an argument is 71 yourprogram should print (0) 10000101 (1).00011100000000000000000similarly if the number passed to the function as argument is -71 the program should print (1) 10000101 (1).00011100000000000000000
Answers: 3
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
Answers: 1
question
Computers and Technology, 24.06.2019 00:20
Describe a data structures that supports the stack push and pop operations and a third operation findmin, which returns the smallest element in the data structure, all in o(1) worst-case time.
Answers: 2
question
Computers and Technology, 24.06.2019 02:20
Peter is thinking of a number which isless than 50. the number has 9 factors.when he adds 4 to the number, itbecomes a multiple of 5. what is thenumber he is thinking of ?
Answers: 1
You know the right answer?
Consider the following function:void reverse(char * string1, const char * string2){int stringsize =...
Questions
question
Mathematics, 15.09.2019 05:10
question
Mathematics, 15.09.2019 05:10
Questions on the website: 13722363