Technical Skills- End  Examin - 13-01-2024 ECE & EEE SEM V

Technical Skills- End Examin - 13-01-2024 ECE & EEE SEM V

Professional Development

25 Qs

quiz-placeholder

Similar activities

English Assessment for Subject Teachers

English Assessment for Subject Teachers

Professional Development

20 Qs

LSS Quiz Time

LSS Quiz Time

Professional Development

20 Qs

btd6

btd6

KG - Professional Development

20 Qs

[TD] WRITING - Task 1 - Comparison

[TD] WRITING - Task 1 - Comparison

Professional Development

21 Qs

[TOPIC 12] 229-251

[TOPIC 12] 229-251

Professional Development

23 Qs

English Noil AUG 22: DAFNE SOLIS

English Noil AUG 22: DAFNE SOLIS

KG - Professional Development

27 Qs

CNN - Practice test 1

CNN - Practice test 1

Professional Development

30 Qs

Impersonal Passive

Impersonal Passive

Professional Development

20 Qs

Technical Skills- End  Examin - 13-01-2024 ECE & EEE SEM V

Technical Skills- End Examin - 13-01-2024 ECE & EEE SEM V

Assessment

Quiz

English

Professional Development

Practice Problem

Easy

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

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> enum happylife { a,b,c=5 }; enum happylife s; main() { c++; printf("%d",c); }

error
5
6
2

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

main() { enum resut {pass, fail}; enum result s1,s2; s1=pass; s2=fail; printf("%d",s1); }

error
pass
fail
0

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> enum example {a = 1, b, c}; enum example example1 = 2; enum example answer() { return example1; } int main() { (answer() == a)? printf("yes"): printf("no"); return 0; }

yes
no
2
error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include<stdio.h> #define MAX 4 enum ccc { a,b=3,c }; main() { if(MAX!=c) printtf("hello"); else printf("welcome"); }

error
hello
welcome
2

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following C code if input given is 2? #include<stdio.h> enum day { a,b,c=5,d,e }; main() { printf("Enter the value for a"); scanf("%d",a); printf("%d",a); }

2
0
3
error

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What will be the output of the following C code if the code is executed on a 32 bit platform?#include <stdio.h> enum sanfoundry { c = 0, d = 10, h = 20, s = 3 } a; int main() { a = c; printf("Size of enum variable = %d bytes", sizeof(a)); return 0; }

error
Size of enum variable = 2 bytes
Size of enum variable = 4 bytes
Size of enum variable = 8 bytes

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> union stu { int ival; float fval; }; void main() { union stu r; r.ival = 5; printf("%d", r.ival); }

9
compile time error
16
5

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?