VCE-BETA-17.11.2023-AN

VCE-BETA-17.11.2023-AN

Professional Development

15 Qs

quiz-placeholder

Similar activities

De todo

De todo

1st Grade - Professional Development

16 Qs

Irregular Verbs for pre-KET

Irregular Verbs for pre-KET

7th Grade - Professional Development

20 Qs

Teaching points and lesson planning

Teaching points and lesson planning

Professional Development

10 Qs

NEW HEADWAY UNIT 1 BEGINNERS 1 PRACTICE

NEW HEADWAY UNIT 1 BEGINNERS 1 PRACTICE

Professional Development

15 Qs

RCI#2

RCI#2

Professional Development

15 Qs

Sasi-AN-02.05.2024

Sasi-AN-02.05.2024

Professional Development

15 Qs

Sasi-FN-04.05.2024

Sasi-FN-04.05.2024

Professional Development

15 Qs

DSBS-AN-29.01.2024

DSBS-AN-29.01.2024

Professional Development

15 Qs

VCE-BETA-17.11.2023-AN

VCE-BETA-17.11.2023-AN

Assessment

Quiz

English

Professional Development

Hard

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(){ struct simp{ int i = 6; char city[] = "chennai"; }; struct simp s1; printf("%d",s1.city); printf("%d", s1.i); return 0; }
chennai 6
Nothing will be displayed
Runtime Error
Compilation Error

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main(){ struct st { int i; static int si; }; struct st s = {1, 2}; printf("%d %d", s.i, s.si); return 0; }
1 2
Linker Error
Runtime Error
Compilation Error

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

void main() { struct bitfields { int bits_1: 2; int bits_2: 9; int bits_3: 6; int bits_4: 1; }bit; printf("%d", sizeof(bit)); }
2
3
4

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main() { struct leader { char *lead; int born; }; struct leader l1 = {"AbdulKalam", 1931}; struct leader l2 = l1; printf("%s %d", l2.lead, l1.born); }
Compilation error
Garbage value 1931
AbdulKalam 1931
None of the above

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> struct employee{ char *company; int salary; }; int main(){ struct employee e, e1; e.company = "CCC"; e1 = e; printf("%s %s", e.company, e1.company); return 0; }
Garbage value CCC
CCC Garbage value
CCC CCC
Compilation Error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> int main(){ struct employee { int empid[5]; int salary; struct employee *s; }emp; printf("%d %d", sizeof(struct employee), sizeof(emp.empid)); return 0; }
6 4
36 20
32 20
40 10

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #include<string.h> struct player { char pname[20]; }pl; char* play(struct player *temp_pl){ strcpy(temp_pl->pname, "kohli"); return temp_pl->pname; } int main() { strcpy(pl.pname, "dhoni"); printf("%s %s", pl.pname, play(&pl)); return 0; }
dhoni kohli
dhoni dhoni
None
kohli kohli

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?