logo

Crowdly

Basic Programming

Шукаєте відповіді та рішення тестів для Basic Programming? Перегляньте нашу велику колекцію перевірених відповідей для Basic Programming в moodle.usthlearningsupport.vn.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

#include <stdio.h>

int main() {

char *cities[] = {"Hanoi", "LangSon", "PhuQuoc"};

int **i = &cities[0];

printf("%c\n", **i);

return 0;

}

What is the output?

0%
0%
100%
0%
Переглянути це питання

What is the output of the following code?

    #include <stdio.h>

int main() {

unsigned char x = 255;

x += 10;

printf("%u", x);

return 0;

}

0%
100%
0%
0%
Переглянути це питання

What will be the output of the following C program?

        #include 

int main() {

for (int i = 0; i < 5; i--) {

printf("%d ", i);

}

return 0;

}

0%
0%
0%
100%
Переглянути це питання

What will happen when this code is executed?

        #include <stdio.h>

int main() {

printf("Hello\0World");

return 0;

}

0%
0%
100%
0%
Переглянути це питання

What will be the output of the following code snippet?

#include <stdio.h>

int main() {

int a = 10;

int *ptr = &a;

printf("%d", *ptr);

return 0;

}

0%
100%
0%
0%
Переглянути це питання
What does `malloc` return on failure?
0%
100%
0%
0%
Переглянути це питання
Which of the following statements about pointers in C is true?
0%
0%
100%
0%
Переглянути це питання
Which function correctly allocates a dynamic 2D array?
Переглянути це питання
Which operator is used to access the members of a structure?
Переглянути це питання

What is the output of the following C program?

        #include <stdio.h>

int main() {

printf("%zu", sizeof('A'));

return 0;

}

Переглянути це питання

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

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