Sharda fest 2024

Sharda fest 2024

University

25 Qs

quiz-placeholder

Similar activities

String in C Programming

String in C Programming

University

26 Qs

C - Structures

C - Structures

University

20 Qs

c-basics-1

c-basics-1

10th Grade - Professional Development

24 Qs

C - Strings

C - Strings

University

20 Qs

Arrays and pointers quiz

Arrays and pointers quiz

University

20 Qs

Playing with C

Playing with C

University

20 Qs

C - Flow Control

C - Flow Control

University

20 Qs

TECHFEST QUALIFYING ROUND

TECHFEST QUALIFYING ROUND

University

20 Qs

Sharda fest 2024

Sharda fest 2024

Assessment

Quiz

Computers

University

Hard

Created by

Ramkumar Professor)

Used 2+ times

FREE Resource

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

1) What is the 16-bit compiler allowable range for integer constants?

  1. 3.4e38 to 3.4e38

.-32767 to 32768

-32668 to 32667

-32768 to 32767

2.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

2) Study the following program:

  1. main()  

  2. {printf("javatpoint");  

  3. main();}  

  4. What will be the output of this program?

  1. Wrong statement

  It will keep on printing javatpoint

   It will Print javatpoint once

None of the these

3.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

3) What is required in each C program?

The program must have at least one function.

The program does not require any function.

  Input data

     Output data

4.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

4) What will this program print?

  1. main()  

  2. {  

  3.   int i = 2;  

  4.   {  

  5.     int i = 4, j = 5;  

  6.      printf("%d %d", i, j);  

  7.   }    

  8.   printf("%d %d", i, j);  

  9. }  

  1. 4525

2525

4545

None of the these

5.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

5) Which of the following comment is correct when a macro definition includes arguments?

  1. The opening parenthesis should immediately follow the macro name.

  1. There should be at least one blank between the macro name and the opening parenthesis.

  1. There should be only one blank between the macro name and the opening parenthesis.

  1. All the above comments are correct.

6.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

6) What is a lint?

  1. C compiler

  1. Interactive debugger

  1. Analyzing tool

  1. C interpreter

7.

MULTIPLE CHOICE QUESTION

2 mins • 1 pt

7) What is the output of this statement "printf("%d", (a++))"?

  1. The value of (a + 1)

  1. The current value of a

  1. Error message

  1. Garbage

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?