Top 150+ C Language Online Test - 2
Question: 6
For accessing a structure element using a pointer, which of the following must be used?
(A) Arrow operator (→)
(B) Separate the codes code from the constant
(C) Delimit a section of
(D) Show what code goes in a particular function
Ans: A
Arrow operator (→)
Question: 7
Variable that ate both alive and active throughout the entire program are called
(A) Automatic variables
(B) Global variables
(C) Private variables
(D) Local variables
Ans: B
Global variables
Question: 8
The main difference in operation between an if statement and a while statement is that the
(A) Conditional expression following the key board is evaluated differently
(B) While loop body is executed
(C) Body of the while statement may be executed many times, the body of the if statement only once
(D) All of these
Ans: C
Body of the while statement may be executed many times, the body of the if statement only once
Question: 9
Declaring variables is advantageous because it
(A) Simplifies the writing of very short programs
(B) Helps the liner work efficiently
(C) Avoids error from misspelled variable names
(D) All of these
Ans: A
Simplifies the writing of very short programs
Question: 10
Integer division in a ‘C’ program results in
(A) Overflow
(B) Rounding
(C) Transaction
(D) None of these
Ans: C
Transaction
- Top 150+ OOPS Quiz Questions and Answers
- C Language Quiz Questions and Answers
- C Language Multiple Choice Questions and Answers
- C Language Objective Questions and Answers
- Top 150+ C Objective Questions and Answers
- C Multiple Choice Questions and Answers
- Top 150+ C Language Online Test
- Top 1000+ C Language MCQ Questions and Answers
Electromagnetic Induction Questions & Answers Pdf More
A.C. Basics and Networks Quiz Questions & Answers Pdf More
Signals and Systems Quiz Questions and Answers Pdf More
Signals and Systems MCQ Questions and Answers Pdf More
Electrical Power Sources Quiz Questions & Answers Pdf More
1000+ Logical Reasoning and Analytical Ability UPSC Questions Pdf More
DBMS Questions and Answers Pdf Free Download More
100+ Multiple Choice Geography Questions and Answers Pdf More
Cells and Batteries Questions and Answers Pdf More
TNPSC Group 2 Study Material in Tamil and English More