SASI -1st year -DAY1-AN(27.11.23)

SASI -1st year -DAY1-AN(27.11.23)

Professional Development

15 Qs

quiz-placeholder

Similar activities

SASI -1st year -DAY5-FN (22.12.23)

SASI -1st year -DAY5-FN (22.12.23)

Professional Development

15 Qs

SASI -1st year -DAY6-AN (23.12.23)

SASI -1st year -DAY6-AN (23.12.23)

Professional Development

15 Qs

SASI -BATCH 3-DAY6-FN(25.11.23)

SASI -BATCH 3-DAY6-FN(25.11.23)

Professional Development

15 Qs

091223    SASI AN

091223 SASI AN

Professional Development

15 Qs

pointers B

pointers B

Professional Development

16 Qs

20 dec 2023 SRMIST TRP CPS    AN

20 dec 2023 SRMIST TRP CPS AN

Professional Development

15 Qs

KTR-CTECH-AN -18.04.2024

KTR-CTECH-AN -18.04.2024

Professional Development

15 Qs

VCE-ALPHA-18.11.2023-AN

VCE-ALPHA-18.11.2023-AN

Professional Development

15 Qs

SASI -1st year -DAY1-AN(27.11.23)

SASI -1st year -DAY1-AN(27.11.23)

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() { signed char chr; chr = 128; printf("%d\n", chr); return 0; }
128
-128
Depends on the compiler
None of the mentioned

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is short int in C programming?
The basic data type of C
Qualifier
Short is the qualifier and int is the basic data type
All of the mentioned

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { float f1 = 0.1; if (f1 == 0.1) printf("equal\n"); else printf("not equal\n"); }
equal
not equal
output depends on the compiler
error

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int x = 10000; double y = 56; int *p = &x; double *q = &y; printf("p and q are %d and %d", sizeof(p), sizeof(q)); return 0; }
p and q are 4 and 4
p and q are 4 and 8
compiler error
p and q are 2 and 8

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> void main() { int x = 0; if (x = 0) printf("Its zero\n"); else printf("Its not zero\n"); }
Its not zero
Its zero
Run time error
None

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int i = 1; if (i++ && (i == 1)) printf("Yes\n"); else printf("No\n"); }
Yes Depends on the standard
No
Depends on the compiler
Depends on the standard

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> void main() { int x = 0, y = 2, z = 3; int a = x & y | z; printf("%d", a); }
3
0
2
run time error

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?