Search Header Logo

UG Code Breaker Challenge Round-1

Authored by Divakar Bangaru

Computers

Professional Development

Used 1+ times

UG Code Breaker Challenge Round-1
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in C are in ____________

LowerCase letters

UpperCase letters

CamelCase letters

None of the mentioned

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

for( ; ; ) leads to

infinite loop

finite loop

error

none of these

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

int test(a,b)

{

pass

}

What does the "int" in the above block of code signify ?

data type of the function

data type of a and b

return type of the function

arguments of the function

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is not a format specifier ?

%d

%s

%f

%k

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A string should always be enclosed in

single quotes

hashtags

curly brackets

double quotes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Null character is represented by

\n

\t

\0

\r

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

#include <stdio.h>


int main()

{

int arr[5] = {10,20,30,40,50};

printf("%d",arr[2]);


return 0;

}


What will be the output of the above program ?

10

20

30

error

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?