CPP

CPP

Linkage has 7 Questions

How any types of linkage are there in c++?

1
2
3
4
To use internal linkage we have to use which keyword?

static
extern
static or extern
none of the mentioned
Which one is used to refer to program elements in any translation units?

internal linkage
external linkage
no linkage
none of the mentioned
What is the defualt type oof linkage that are available for identifires?

internal
external
no linkage
none of the mentioned
To use external linkage we have to use which keyword?

static
extern
const
none of the mentioned
Which is used to use a function from one source file to another?

code
declaration
prototype
none of the mentioned
What is the use of no linkage?

make the entity visible to other programs
make the entity visible to other blocks in the same program.
make the entity visible only to that block
none of the mentioned