KLU- CLUSTER -6 DAY-5

KLU- CLUSTER -6 DAY-5

Professional Development

30 Qs

quiz-placeholder

Similar activities

KLU- CLUSTER -5 DAY-2

KLU- CLUSTER -5 DAY-2

Professional Development

30 Qs

FIC Challenge Quiz 2 on Grammar & Vocabulary

FIC Challenge Quiz 2 on Grammar & Vocabulary

University - Professional Development

30 Qs

Conjunctive Adverbs Quiz

Conjunctive Adverbs Quiz

Professional Development

29 Qs

CO Level-3   Q:1

CO Level-3 Q:1

Professional Development

30 Qs

9 Writing Training - Teachers’ License by Yousef Alshorbaji

9 Writing Training - Teachers’ License by Yousef Alshorbaji

Professional Development

30 Qs

Excel Functions and Pivot Table Quiz

Excel Functions and Pivot Table Quiz

Professional Development

30 Qs

Past Tense with To be 2 ( - & ?)

Past Tense with To be 2 ( - & ?)

Professional Development

25 Qs

Review Oil and Gas 2

Review Oil and Gas 2

University - Professional Development

25 Qs

KLU- CLUSTER -6 DAY-5

KLU- CLUSTER -6 DAY-5

Assessment

Quiz

English

Professional Development

Hard

Created by

CCC info@ccc.training

Used 1+ times

FREE Resource

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

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

Already have an account?