Created
December 26, 2021 12:46
-
-
Save LokeshKumarES/cab5518c962c298d4725b4338b21a3aa to your computer and use it in GitHub Desktop.
#pragma Miscellaneous Directives, for assigning order to functions.
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> | |
void abc(); | |
void xyz(); | |
# pragma startup abc | |
# pragma exit xyz | |
void main() | |
{ | |
printf("\n Main Function."); | |
} | |
void abc() | |
{ | |
printf("\n ABC Function."); | |
} | |
void xyz() | |
{ | |
printf("\n XYZ Function."); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment