Looking for Olympiad- Eng- Comp-Sciences-1 test answers and solutions? Browse our comprehensive collection of verified answers for Olympiad- Eng- Comp-Sciences-1 at do.ipo.kpi.ua.
Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!
What is the main advantage of NTFS over FAT32?
#include <stdio.h>
int main() {
int arr[] = {10, 9, 8, 7, 6, 5, 4, 3, 2};
int n = sizeof(arr) / sizeof(arr[0]);
int s1 = 0, s2 = 0;
for (int i = 0; ++i < n / 2; i) {
s1 += arr[i];
s2 += arr[n - 1 - i];
}
printf("%d %d\n ", s1, s2);
return 0;
}
using namespace std;
int main() {
int a = -3, b = ~ a;
cout << b;
printf("+%b", b);
return 0;
}
#define SIZE 10
int main() {
int arr[SIZE] = {12, 7, 8, 3, 14, 25, 30, 9, 18, 21};
for (int i = 0; i < SIZE; i++) {
if (!(arr[i] % 2 == 0)) {
printf("%x ", arr[i]);
}
}
return 0;
}
What will be the output of the following C code?
#include <iostream>
using namespace std;
int main() {
char a = 89;
cout << a;
printf("+%x", a);
return 0;
}
What will be the output of the following C code?
#include <iostream>
using namespace std;
int main() {
float a = -0.9; int i = 89;
do {a += 0.01; i--;} while (i > 0); cout << a;
return 0;
}
#include <stdio.h>
int main() {
char a = 'C';
int b = 5;
float c = (a + b) / 5.0;
printf("%.2f\n", c);
return 0;
}
#include <stdio.h>
int main() {
int x = 10;
int *p = &x;
*p = 20;
printf("%d\n", x);
return 0;
}