1 given the following declarations char somestring 30 quot whats up quot int intarra 5346635
1) Given the following declarations:
char someString[30] = “Whats up?”;
int intArray[5] = {2, 4, 6, 8, 10};
Write an output statement that displays the question mark from someString followed by a newline.
2) Given the following declarations:
char someString[30] = “Whats up?”;
int intArray[5] = {2, 4, 6, 8, 10};
Write a statement that changes the value of 6 in the array to a 12
3) Given the following declarations:
char someString[30] = “Whats up?”;
int intArray[5] = {2, 4, 6, 8, 10};
Write an output statement that displays the memory location of the value 4 stored in intArray[] in base-16 integer format.
PLEASE ANSWER THE ABOVE QUESTIONS USING INFO GIVEN FOR EACH.