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

Nu ENE - Final Test Grammar

Nu ENE - Final Test Grammar

Professional Development

25 Qs

Possessive Adjectives

Possessive Adjectives

Professional Development

20 Qs

Unit 1: Hello everybody

Unit 1: Hello everybody

Professional Development

20 Qs

level 3

level 3

Professional Development

22 Qs

Miscellaneous

Miscellaneous

KG - Professional Development

20 Qs

duc anh ngo

duc anh ngo

5th Grade - Professional Development

20 Qs

Redoks X Tpem 2

Redoks X Tpem 2

Professional Development

21 Qs

STINGRAYS - TRIMESTER REVIEW

STINGRAYS - TRIMESTER REVIEW

Professional Development

23 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

Already have an account?