C Programming - Typedef - Discussion
Discussion Forum : Typedef - Yes / No Questions (Q.No. 3)
3.
Are the properties of i, j and x, y in the following program same?
typedef unsigned long int uli;
uli i, j;
unsigned long int x, y;
Discussion:
3 comments Page 1 of 1.
Rashmi said:
1 decade ago
The typedef provides fascility for creating new data type names.here uli is synonym to unsigned long int and uli can be used anywhere in place of unsigned long int.
Vamshi said:
1 decade ago
Using typedef creation of new name for existing data type is possible but not data type because of these all the variables properties are same.
Teju said:
1 decade ago
Can any body explain this ?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers