C Programming
DECLARATIONS AND INITIALIZATIONS MCQs
Total Questions : 66
Page 1 of 7 pagesYes, but the function declarations must be identical.
Yes, In all the global variable declarations, you need to use the keyword extern.
The only way this can be achieved is to define the variable locally in main() instead of
defining it globally and then passing it to the functions which need it.
No answer description available for this question.
Yes, we have to specify the data type of the parameter when declaring a function.
False, The range of float is -3.4e+38 to 3.4e+38.
False, The range of double is -1.7e+308 to 1.7e+308.
True, When a function is declared inside the source file, that function(local function)
get a priority than the extern function. So there is no need to declare a function as
extern inside the same source file.
True, Depending on the operating system/compiler/system architecture you are working on,
the range of data types can vary.
True, we can find the size of short integer and long integer using the sizeof() operator. Example:
#include<stdio.h> int main() { short int i = 10; long int j = 10; printf("short int is %d bytes., nlog int is %d bytes.", sizeof (i), sizeof(j)); return 0; } Output: short int is 2 bytes. long int is 4 bytes.
Recent Questions
Q. The Value Engineering Technique In Which Experts Of The Same....
Q. If Transcription Should Not Be Carried Out Beyond The Insert....
Q. Buffalo Is To Leather As Llama Is To....?
Q. Choose The Correct Answer From The Given Options To Fill The....
Q. The Arithmetic Mean (average) Of The First 10 Whole Numbers ....
Q. Which Governor General Is Remembered For The Annulment Of Th....
Q. When The Voltage Across A Capacitor Is Tripled, The Stored C....
Q. My Mother Bakes Cakes.
Q. Log Mean Temperature Difference In Case Of Counter Flow Comp....
Q. Which Of The Following Is Not A Matter Of Local Government?
Q. Which Drugs Can Easily Pass The Placental Barrier?
Q. Which Of The Following Is Not A Benefit Of BLAST?
Q. A Part Of John's Salary Was Cut By The Government. What....
Q. The Swollen Part Of The Pistil Is Known As ________ .
Q. By Definition, Make A Map Is To Select Certain Features As R....
Q. Which Of The Following Is The Best Tube Material From Therma....
Q. If You Are Going To Use A Combination Of Three Or More AND A....
Q. (a) A Ball Is Dropped From A Height Of 30m. After Striking T....
Q. What Is The Approx. Value Of W, If W=(1.5)11, Given Log2 = 0....
Q. In The Following Questions, The Symbols $, ©, *, @ And # Ar....