Created
April 9, 2017 16:22
-
-
Save sutirthaC97/68f9144ae9f7766b611d54533211fdc6 to your computer and use it in GitHub Desktop.
Usage of typedef.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
typedef double dbl; //Now dbl can be used anywhere in the program we need to write double. | |
int main() | |
{ | |
dbl a = 21.3987; | |
printf("The value of a is : %lf ", a); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment