Search Header Logo

Second Round Quiz

Authored by Thrisha S

Information Technology (IT)

University

Used 3+ times

Second Round Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which of the following is not a valid C Variable name?

Int number;

float rate;

int variable_count;

int $main;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is an invalid pointer declaration?

int ptr;

int *ptr;

int ptr*;

int* ptr;

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. In C language, FILE is of which data type?

int

char

struct

array

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which is a valid way to access array elements?

arr[i]

*(arr + i)

i[arr]

All of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. Which of the following is not Valid In C?

int a= 10, b=20;

int a(10);

int a={10};

int a = 10;

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What will be the output?

  2. #include <stdio.h>

  3. int main() {

  4. printf("%d", sizeof('A'));

  5. return 0;

1

2

4

Depends on compiler

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

  1. What will be the output?

  2. int a = 5, b = 2;

  3. printf("%d", a/b*b) ;

2

4

5

6

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?