Шукаєте відповіді та рішення тестів для Basic Programming? Перегляньте нашу велику колекцію перевірених відповідей для Basic Programming в moodle.usthlearningsupport.vn.
Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!
What will be the output of the following C program?
#include <stdio.h>int main() {
int arr[3] = {1, 2, 3};
printf("%d", 2[arr]);
return 0;
}
#include <stdio.h>
int main() {
char str[] = "Hello";
printf("%c", *(str+1));
return 0;
}
What will happen if you run the following code?
#include <stdio.h>
void recurse() {
recurse();
}
int main() {
recurse();
return 0;
}
#include <stdio.h>
int main() {
int a = 1;
if (a--)
printf("True");
if (a++)
printf("False");
return 0;
}
What is the output?
What is the output of the following C code?
#include <stdio.h>int main() {
int x = 10;
printf("%d %d", x++, ++x);
return 0;
}
What will be the output of the following code?
#include <stdio.h>
int main() {
int arr[] = {10, 20, 30, 40};
int *p = arr;
printf("%d %d %d", *p, *(p++), *p);
return 0;
}
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!