Run ❯
Get your
own
website
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
int main() { int myNumbers[4] = {25, 50, 75, 100}; // Change the value of the first element to 13 *myNumbers = 13; // Change the value of the second element to 17 *(myNumbers +1) = 17; // Get the value of the first element printf("%d\n", *myNumbers); // Get the value of the second element printf("%d\n", *(myNumbers + 1)); return 0; }
13
17