Search Header Logo

Codestry Round 2

Authored by Shrinivasini Shrinivasini

Other

University

Codestry Round 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 1. C preprocessors can have compiler specific features.


a) True

b) False

c) Depends on the standard

d) Depends on the platform

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 2. Which of the following are C preprocessors?

a) #ifdef

b) #define

c) #endif

d) all of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

3. How is search done in #include and #include “somelibrary.h” according to C standard?

a) When former is used, current directory is searched and when latter is used, standard directory is searched

b) When former is used, standard directory is searched and when latter is used, current directory is searched


c) When former is used, search is done in implementation defined manner and when latter is used, current directory is searched

d) For both, search for ‘somelibrary’ is done in implementation-defined places

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

 

4. The C-preprocessors are specified with _________ symbol.

a) #

b) $


c) ” ”

d) &

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 5. How many number of pointer (*) does C have against a pointer variable declaration?

a) 7

b) 127

c) 255


d) No limits

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

6. Which of the following is not possible statically in C language?

a) Jagged Array

b) Rectangular Array

c) Cuboidal Array


d) Multidimensional Array

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. 7. Which of the following return-type cannot be used for a function in C?

a) char *

b) struct

c) void

d) none of the mentioned

Access all questions and much more by creating a free account

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?