C Language

C Language

Professional Development

18 Qs

quiz-placeholder

Similar activities

Quiz - Pointers and Callby value & Reference

Quiz - Pointers and Callby value & Reference

Professional Development

15 Qs

C CODE MASTER B

C CODE MASTER B

Professional Development

15 Qs

Массивы С++

Массивы С++

Professional Development

13 Qs

JAVA - Arrays

JAVA - Arrays

University - Professional Development

15 Qs

MindSpace Computers C Test-3 2023

MindSpace Computers C Test-3 2023

Professional Development

15 Qs

Quiz on File, Memory Alloc, Preprocessor, Structure & Union

Quiz on File, Memory Alloc, Preprocessor, Structure & Union

Professional Development

20 Qs

Code X Trade

Code X Trade

Professional Development

15 Qs

PSC Quiz1

PSC Quiz1

University - Professional Development

20 Qs

C Language

C Language

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Labeed Ahmad

FREE Resource

18 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a valid C variable name?

int number;

float _rate;

int variable_Count;

int $main;

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What is the value of "z" in this code?

The value of z is 10

The value of z is 15

The value of z is 15.6

The value of z is 16

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What will be the output of this code?

OK

KO

Depends on compiler

Depends on standard

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct way of initializing an array in C?

int arr[4]= 1,2,3,4 ;

int arr[4]= (1,2,3,4) ;

int arr[4]= {1,2,3,4 };

int arr[4]= [1,2,3,4 ];

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A function that calls itself is known as _________.

Repetation

Retention

Recursion

looping

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How to write a single line comment?

/* Comment */

/* Comment

//Comment//

//Comment

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_________used to give tab spaces in c programming.

/n

\t

\r

\n

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?