C Programming - Declarations and Initializations - Discussion

Discussion Forum : Declarations and Initializations - General Questions (Q.No. 2)
2.
What are the types of linkages?
Internal and External
External, Internal and None
External and None
Internal
Answer: Option
Explanation:
External Linkage-> means global, non-static variables and functions.
Internal Linkage-> means static variables and functions with file scope.
None Linkage-> means Local variables.
Discussion:
95 comments Page 10 of 10.

Kailash said:   1 decade ago
'static' is fixed with respect to time. But dynamic can change with respect to time.

Shan said:   1 decade ago
I wanna a briefly explain about the linkages.

Ago balan said:   1 decade ago
int a; --> Here a is a variable of integer. We can increment the value of a using for loop.

static int a; --> Whenever 'a' is called at any line in a program 'a' value is assigned automatically that value is previous value of a we used sometime earlier in program. Actually static is storage class.

Suresh said:   2 decades ago
What is static variable?

Ujwala said:   2 decades ago
Details of internal & none linkage ?


Post your comments here:

Your comments will be displayed after verification.