Testing

Testing

Professional Development

15 Qs

quiz-placeholder

Similar activities

SASI -BATCH 3-DAY2-FN

SASI -BATCH 3-DAY2-FN

Professional Development

15 Qs

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

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

Professional Development

15 Qs

091223    SASI AN

091223 SASI AN

Professional Development

15 Qs

VCE-GAMMA-21.11.2023-FN

VCE-GAMMA-21.11.2023-FN

Professional Development

15 Qs

pointers B

pointers B

Professional Development

16 Qs

VCE-BETA-17.11.2023-AN

VCE-BETA-17.11.2023-AN

Professional Development

15 Qs

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

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

Professional Development

15 Qs

15 dec 2023 SRMIST  TRC MCA    FN

15 dec 2023 SRMIST TRC MCA FN

Professional Development

15 Qs

Testing

Testing

Assessment

Quiz

English

Professional Development

Hard

Created by

CCC info@ccc.training

Used 3+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What is the prototype of scanf function?
scanf("controlstring",arg1,arg2,arg3,….,argn);
scanf("control string", variable list);
scanf(" varible list,", control string);
scanf("arg1,arg2,arg3,….,argn", control string);

2.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int i = 10, j = 2; printf("%d\n", printf("%d %d ", i, j)); }
Compile time error
10 2 4
10 2 2
10 2 5

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int i = 10, j = 3; printf("%d %d %d", i, j); }
Compile time error
10 3
10 3 some garbage value
Undefined behaviour

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int i = 10, j = 3, k = 3; printf("%d %d ", i, j, k); }
Compile time error
10 3 3
10 3
10 3 some garbage value

5.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Escape sequences are prefixed with ________
%
/
"
none of the mentioned

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

printf(“%10s”, state);
10 spaces before the string state is printed
Print empty spaces if the string state is less than 10 characters
Print the last 10 characters of the string
None of the mentioned

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

#include <stdio.h> int main() { int i = 10, j = 2; printf("%d\n", printf("%d %d ", i, j)); }
Compile time error
10 2 4
10 2 2
10 2 5

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?