Congratulations - you have completed C Programming : Multiple Choice Questions. You scored %%SCORE%% out of %%TOTAL%%. Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1
Non Executable code in C programming is referred as __________.
A
Array
B
Comment
C
Statement
D
Variable
Question 2
C Programming Supports ______ type(s) of Comments.
A
2
B
1
C
3
D
4
Question 3
Which of the following is appropriate position for writing comment in C Programming ?
A
before calling the main function
B
anywhere in the code
C
before variable declaration section
D
before header file section
Question 4
Which of the following Comments are used in C Programming ?
A
Multiple Line Comment
B
None of these
C
Single Line Comment
D
Enhanced Comment
Question 5
Comments in C Programming are ignored by ________.
A
Browser
B
Interpreter
C
Compiler
D
None of these
Question 6
Single line comments are denoted by _____.
A
\\
B
//
C
*/
D
/*
Question 7
How many comment lines are present in the below program -
main()
{
printf("Hello World in C //Comment ");
printf("Hello World in C "); //Comment
//Comment printf("Hello World in C ");
}
A
0
B
1
C
2
D
3
Question 7 Explanation: 
printf("Hello World in C //Comment ");
above statement contains comment as part of string so it will not be considered as comment.
Question 8
Which of the comment can be split over multiple lines ?
A
Enhanced Comment
B
Single Line Comment
C
Multiple line comment
D
Combination of Single and Multi Line Comment
Question 9
Identify the comment used in the following c program ?
/* following line is used to get -
          1.Count of the Customer 
          2.It is going to Return Integer
*/
int var = getCount(str);
A
Multiple Line Comment
B
HTML Like comment
C
None of these
D
Single Line Comment
Question 10
Comments are case Sensitive !
A
False
B
True
Once you are finished, click the button below. Any items you have not completed will be marked incorrect. Get Results
There are 10 questions to complete.