C Programming - Declarations and Initializations - Discussion
Discussion Forum : Declarations and Initializations - General Questions (Q.No. 2)
2.
What are the types of linkages?
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.
Internal Linkage-> means static variables and functions with file scope.
None Linkage-> means Local variables.
Discussion:
96 comments Page 10 of 10.
Apple said:
1 decade ago
@shwetha
inc/dec operator has high precedence than arithmatic operators in operator precedence.so,when x=5,
z=(++x)+(++x)
++x => x=6
and
++x => x=7(as x is a variable that can store only a single value)
now,arithmatic operation is performed on it,ie,
z=7+7
z=14
inc/dec operator has high precedence than arithmatic operators in operator precedence.so,when x=5,
z=(++x)+(++x)
++x => x=6
and
++x => x=7(as x is a variable that can store only a single value)
now,arithmatic operation is performed on it,ie,
z=7+7
z=14
Shwetha said:
1 decade ago
@Dixn.
How at end it became 7?
I didn't understand. Can you explain again please.
How at end it became 7?
I didn't understand. Can you explain again please.
Anjesh kumar maurya said:
1 decade ago
Tell me about linkage?
Nagaraj said:
1 decade ago
fmod(3.14,2.1) is giving o/p: 0.000000 why?
Manisha said:
1 decade ago
What are linkage?
Nidhi gupta said:
1 decade ago
What is static and non-static variables?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers