Search Header Logo

CSE C - 05.01.24

Authored by Santhanalakshmi Kabilan

Computers

University

CSE C - 05.01.24
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Who is the father of C language?

Steve Jobs

James Gosling

Dennis Ritchie

Rasmus Lerdorf

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

All keywords in C are in

LowerCase letters

UpperCase letters

CamelCase letters

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following cannot be a variable name in C?

volatile

true

friend

export

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following is NOT possible with any 2 operators in C?

Different precedence, same associativity

Different precedence, different associativity

Same precedence, different associativity

All of the mentioned

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Functions in C Language are always

Internal

External

Both Internal and External

External and Internal are not valid terms for functions

6.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will be the output of the following C code?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int y = 10000;

  5. int y = 34;

  6. printf("Hello World! %d\n", y);

  7. return 0;

  8. }

Compile time error

Hello World! 34

Hello World! 1000

Hello World! followed by a junk value

7.

MULTIPLE CHOICE QUESTION

1 min • 2 pts

What will happen if the following C code is executed?

  1. #include <stdio.h>

  2. int main()

  3. {

  4. int main = 3;

  5. printf("%d", main);

  6. return 0;

  7. }

It will cause a compile-time error

It will cause a run-time error

It will run without any error and prints 3

It will experience infinite looping

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?