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 3 of 10.

DixN said:   1 decade ago
The reason is
x=5
++x means x=6
then ++x means x=7
then only it will start to add
z=x+x
but at the end x=7
therefore
z=7+7
ie z=14 is the answer

Sumanth said:   1 decade ago
Thanx Dixin

Purnima said:   1 decade ago
Can you give me the brief explanation about linkages and what are the storage classes?

Sameer said:   1 decade ago
What is the meaning of functions of filescope?

Anitha said:   1 decade ago
How can we print a string without using printf() and any other functions like puts() & get() ?

Nidhi gupta said:   1 decade ago
What is static and non-static variables?

Manisha said:   1 decade ago
What are linkage?

Nagaraj said:   1 decade ago
fmod(3.14,2.1) is giving o/p: 0.000000 why?

Anjesh kumar maurya said:   1 decade ago
Tell me about linkage?

Shwetha said:   1 decade ago
@Dixn.

How at end it became 7?

I didn't understand. Can you explain again please.


Post your comments here:

Your comments will be displayed after verification.