C++ Programming
LINKAGE MCQs
Total Questions : 7
Answer is Option C. -> prototype
By defining a function's prototype in another file means, we can inherit all the features
from the source function.
Answer is Option C. -> make the entity visible only to that block
None.
Answer is Option B. -> extern
extern keyword is used to represent identifiers from other programs.
Answer is Option B. -> external
None.
Answer is Option A. -> 842
In this program, we have created a header file and linked that into the source program and we
are post incrementing that because of that it is printed as 842.
Output:
$ g++ link.cpp
$ a.out
842
Answer is Option A. -> static
None.
Answer is Option C. -> 3
There are three types of linkage in c++. They are internal linkage, external linkage and
no linkage.
Recent Questions
Q. DIVA:OPERA
Q. All Computers Must Have __________
Q. Which Of The Following Statements Are Correct With Regard To....
Q. (solve As Per The Direction Given Above)
Q. Deficiency Of 'Thiamine' Causes
Q. In Each Question Below A Sentence Broken Into Four Or Five P....
Q. IRS 1A And 1B Satellites Can Carry Which Of The Following Se....
Q. ....
Q. For A Dc Machine Shunt Resistance And Armature Resistance Va....
Q. ....
Q. Who Among The Following Was The First English Man To Visit W....
Q. Find The Correctly Spelt Word
Q. The Color Of Fluorine Is
Q. Rashi Went toy Shopping With Her Mother And Saw A Toy ....
Q. The Process Partially Responsible For The Life On Earth Is
Q. What Is The Place Of The Indian Men's Cricket Team In The La....
Q. ....
Q. Match The Following: 1. Nishka (i) Later Vedic Coi....
Q. Which Fertiliser Is Made (using Coke Oven Gas) In By Product....
Q. ....