logo

Crowdly

Basic Programming

Шукаєте відповіді та рішення тестів для 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;

}

0%
0%
0%
Переглянути це питання
Which library function is used to compare two strings in C?
Переглянути це питання

#include <stdio.h>

int main() {

    char str[] = "Hello";

    printf("%c", *(str+1));

    return 0;

}

Переглянути це питання
Which storage class in C is used to declare global variables?
Переглянути це питання
What happens when trying to access arr[100][100] in an array of size [10][10]?
Переглянути це питання

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;

}

0%
100%
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;

}

0%
0%
100%
Переглянути це питання
Which of the following loops executes at least once?
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на moodle.usthlearningsupport.vn?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!