VCE-GAMMA-21.11.2023-FN

VCE-GAMMA-21.11.2023-FN

Professional Development

15 Qs

quiz-placeholder

Similar activities

K10 - Game 1

K10 - Game 1

Professional Development

10 Qs

VRESEC-24.01.2024-AN-1-3

VRESEC-24.01.2024-AN-1-3

Professional Development

15 Qs

Conditionals 0 and 1

Conditionals 0 and 1

Professional Development

15 Qs

Books

Books

4th Grade - Professional Development

10 Qs

Comparative Form 002

Comparative Form 002

Professional Development

20 Qs

UNIT 11- WHISPERS OF WALLS - P1-IELTS LISTENING PRACTICE TEST

UNIT 11- WHISPERS OF WALLS - P1-IELTS LISTENING PRACTICE TEST

Professional Development

17 Qs

UNIT 10-COLLECTIVE ILLUSION- P6- VOCAB BUILDING AND VOCAB IN CON

UNIT 10-COLLECTIVE ILLUSION- P6- VOCAB BUILDING AND VOCAB IN CON

Professional Development

18 Qs

StAdv.03 p33 Adjectives of emotion

StAdv.03 p33 Adjectives of emotion

10th Grade - Professional Development

17 Qs

VCE-GAMMA-21.11.2023-FN

VCE-GAMMA-21.11.2023-FN

Assessment

Quiz

English

Professional Development

Medium

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main(){ int a, b, c; char *p = 0; int *q = 0; double *r = 0; a = (int)(p + 1); b = (int)(q + 1); c = (int)(r + 1); printf("%d %d %d",a, b, c); return 0; }
Runtime error
0 0 0
Compilation error
1 4 8

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main() { char *ptr; char string[] = "CampusConnect"; ptr = string; ptr += 6; printf("%s",ptr); return 0; }
compilation error
Runtime error
CampusConnect
Connect

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main() { const int a = 5; const int *ptr; ptr = &a; *ptr = 10; printf("%d\n", a); return 0; }
Compilation error
Garbage Value
Address
5

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main() { printf("%d", sizeof(void *)); return 0; }
1
compilation error
Runtime error
4

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main(){ char arr[15] = "pointer array"; int *ptr; ptr = arr; printf("%c",ptr[1]); return 0; }
Garbage value
o
t
Compile time error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main() { int a = 10, b = 6; int *ptr; ptr = &b; printf(" %d ", a **ptr); return 0; }
Pointer type error
Run time error
Compilation error
60

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main(){ char array[5] = "Knot", *ptr, i, *ptr1; ptr = &array[1]; ptr1 = ptr + 3; *ptr1 = 101; for(i = 0; i < 4;i++) printf("%c", *ptr++); return 0; }
not
Knot
note
garbage value

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

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?