logo

Crowdly

Browser

Додати до Chrome

Процедурне програмування (кіббез)

Шукаєте відповіді та рішення тестів для Процедурне програмування (кіббез)? Перегляньте нашу велику колекцію перевірених відповідей для Процедурне програмування (кіббез) в distedu.ukma.edu.ua.

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

Which of the following is not true about unions?

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

Which one of the following best describes what will happen when you index an array out of bounds?

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

What does padding in structs help with?

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

Write a declaration of a function pointer (call it f_ptr) to a function that takes an int argument and returns a double.

double sqrt(int);

Don't use spaces in answer.

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

What is a function pointer?

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

What is the main difference between shallow and deep copying of structs?

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

Assuming a is a pointer to a struct with field x, which one of the following has the same semantics (meaning) as (*a).x ?

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

What is the result of code:

typedef struct {

   int n;

} some_struct;

some_struct* createStruct() {

   some_struct s;

   s.n = 1;

   return &s;

}

some_struct* s = createStruct();

printf("s->n = %d\n", s->n);

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

Consider an attacker who writes a string input that contains machine instructions. When the string is read in, it overwrites an existing return address, causing the function to execute the malicious code.

What type of security vulnerability is this?

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

What is a struct?

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

Хочете миттєвий доступ до всіх перевірених відповідей на distedu.ukma.edu.ua?

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

Browser

Додати до Chrome