Consider the following code fragment:
int vector[5] = {1, 2, 3, 4, 5}, *pv = vector, value = 3;
for (size_t i=0; i < sizeof(vector)/sizeof(int); ++i) {
*pv++ *= value;
}
If the code fragment doesn't compile, write [for compile-time error]. If the code fragment has undefined behavior at runtime, write [for undefined behavior]. Otherwise, write the the sum of the values in array vector after the code fragment's execution.
Write the exact characters printed to standard output by the following code fragment:
char s[] = "HSjodi", *p = s;
for (; *p; ++p) {
--*p;
}
printf("%s", s);
Борг у розмірі 12000 грн. терміном на 4-ри роки під ставку 10 % річних повертають використовуючи схему повернення рівними сумами по основному боргу плюс проценти на залишок. Яку суму потрібно повернути в кінці першого року ?