KLU- CLUSTER -6 DAY-5

KLU- CLUSTER -6 DAY-5

Professional Development

•

30 Qs

quiz-placeholder

Similar activities

神凪 1st

神凪 1st

Professional Development

•

30 Qs

Gestión de Equipos operativos. Kenwin.

Gestión de Equipos operativos. Kenwin.

12th Grade - Professional Development

•

29 Qs

Pretest Ngaji Grammar Insight

Pretest Ngaji Grammar Insight

Professional Development

•

30 Qs

Software Development Exam Vocabulary Part 4 - Topics 1-20

Software Development Exam Vocabulary Part 4 - Topics 1-20

Professional Development

•

30 Qs

English

English

Professional Development

•

26 Qs

TOEIC-Part 5

TOEIC-Part 5

University - Professional Development

•

31 Qs

KLU- CLUSTER -4 DAY-6

KLU- CLUSTER -4 DAY-6

Professional Development

•

30 Qs

Quizizz-35

Quizizz-35

Professional Development

•

30 Qs

KLU- CLUSTER -6 DAY-5

KLU- CLUSTER -6 DAY-5

Assessment

Quiz

•

English

•

Professional Development

•

Practice Problem

•

Hard

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...

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main() { struct num { int i, j, k, l; }; struct num n = {1, 2, 3}; printf("%d %d %d %d", i, j, k, l); }

1 2 3 0
1 2 3 4
1 2 3 garbage value
Compilation Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main() { int i = 2; enum numbers{num1 = i, num2 , num3}n; printf("%d %d %d\n", num1, num2, num3); }

Compilation Error
2 3 4
1 2 3
None of the above

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #define int char void main() { int i = 65; printf("sizeof(i)=%d", sizeof(i)); }

sizeof(i)=2
sizeof(i)=1
Compiler Error
None of These

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #define x 2 int main() { int i; i = x*x*x; printf("%d",i); return 0; }

8
x is not declared
No output
Garbage value

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #define square(x) x*x int main() { int i; i = 64/square(4); printf("%d",i); return 0; }

16
Compilation error
4
64

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #define i 10 int main() { #define i 20 printf("%d",i); return 0; }

Compilation error
20
10
Runtime error

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #define clrscr() 50 int main() { clrscr(); printf("%d\n",clrscr()); return 0; }

Compilation error
Runtime error
50
none of the above

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?