(C) Exemplo - Constante - Const

auryan avatar
auryan
c_cpp
10/15/2022 9:13 PM
168 B
16
Indexable
#include <stdio.h>

int main()
{
    const double PI = 3.14159265359;
    
    printf("PI = %lf\n", PI);
    
    return 0;
}
Editor is loading...