luistavares

Definindo uma constante através da diretiva #define

Aug 24th, 2012
168
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include<stdio.h>
  2. #include<conio.h>
  3. #define PI 3.14159
  4.  
  5. int main( ) {
  6.     printf("O valor de PI eh: %f", PI);
  7.     getch( );
  8.     return 0;
  9. }
RAW Paste Data