HtmlCssMonk

C Programming QUIZ – INTERMEDIATE

10
Created by HtmlCssMonk

C Quiz – Intermediate

Are you Ready ?

Alrighty then.

Good Luck !

Let’s see what you got.

1 / 20

Which of the following statements about functions is false?

2 / 20

– What is the output of the following code snippet?

#include<stdio.h>main() {    int const a = 5;       a++;    printf(“%d”,a); }

3 / 20

What will be the output of the following C code?

4 / 20

putchar(c) function/macro always outputs character c to the __________

5 / 20

Choose the invalid predefined macro as per ANSI C.

6 / 20

What will be the output of the following C code?

7 / 20

Which of the following cannot be used inside sizeof?

8 / 20

What will be the output of the following C code?

9 / 20

Which library function can convert an integer/long to a string?

10 / 20

The function computes the hyperbolic cosine of x.

11 / 20

What will be the output of the following C code?

12 / 20

What will be the data type of the following expression? (Initial data type: a = int, var1 = double, var2 = float)

expression (a < 50)? var1 : var2;

13 / 20

Which of the following header files must necessarily be included to use dynamic memory allocation functions?

14 / 20

What will be the size of the following C structure?

15 / 20

Local variables are stored in an area called ___________

16 / 20

In a 32-bit compiler, which 2 types have the same size?

17 / 20

The statement prog < infile causes _________

18 / 20

Which is correct with respect to the size of the data types?

19 / 20

Which of the following is a correct comment?

20 / 20

The______ function returns the number of characters that are present before the terminating null character.

Your score is

The average score is 35%

0%

Exit

About C Programming Intermediate Quiz

  • This Intermediate C Programming Quiz is designed specially to check your foundational knowledge of C Programming.
  • You are given 10 MCQ type C Programming questions in this Quiz.
  • There is no time Limit, so just keep calm and test your Basic C Programming knowledge without any rush !
  •  At the end of the Quiz, your total score will be displayed out of 100% maximum score.
  • You need to score atleast 70% (14 correct answers ) to PASS the Quiz.

Answers will not be shown after the quiz. If you really got what it takes , then learn until you can score 100% without seeing answers.


Do you have the courage to go on!!!!


Leave a Comment

Your email address will not be published. Required fields are marked *