VCE-ALPHA-25.11.2023-AN

VCE-ALPHA-25.11.2023-AN

Professional Development

15 Qs

quiz-placeholder

Similar activities

De todo

De todo

1st Grade - Professional Development

16 Qs

PRU Life UK Trivia

PRU Life UK Trivia

Professional Development

10 Qs

HỘI THAO BÙNG CHÁY

HỘI THAO BÙNG CHÁY

KG - Professional Development

15 Qs

Sasi-FN-04.05.2024

Sasi-FN-04.05.2024

Professional Development

15 Qs

SMC NATIONAL CHAKRAVYUHA CHALLENGE #1

SMC NATIONAL CHAKRAVYUHA CHALLENGE #1

KG - Professional Development

20 Qs

Currencies and Symbols

Currencies and Symbols

Professional Development

12 Qs

Main Idea

Main Idea

University - Professional Development

18 Qs

Small talk about the weather

Small talk about the weather

Professional Development

14 Qs

VCE-ALPHA-25.11.2023-AN

VCE-ALPHA-25.11.2023-AN

Assessment

Quiz

English

Professional Development

Practice Problem

Medium

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int arr[5]; printf("%d", sizeof(arr++)); return 0; } What will be the output of this program?

1
2
4
Compiler Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int arr[] = {1, 2, 3, 4, 5}; printf("%p", arr + 3); return 0; } What will be printed by this program?

Address of arr[3]
Address of arr[0]
Address of arr[4]
Address of arr

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; printf("%d", arr[-2]); return 0; }

3
2
1
Compiler Error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; printf("%p", &arr[2]); return 0; }

Address of arr[0]
Address of arr[2]
Address of arr[4]
Compiler Error

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int nums[] = {1, 2, 3, 4, 5}; printf("%d", nums[2] - nums[1]); return 0; }

0
1
2
3

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int arr[5] = {1, 2, 3, 4, 5}; printf("%d", arr[3]++); return 0; }

4
5
6
Compiler Error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

int main() { int data[5] = {1, 2, 3, 4, 5}; printf("%d", data[2] * 2); return 0; }

2
4
6
8

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?