Contact: aviboots(AT)netvision.net.il
39,885 questions
51,811 answers
573 users
#include <stdio.h> int main(void) { const int n = 98; printf("%i", n); // n = 20; // error: assignment of read-only variable ānā } /* run: 98 */
#include <stdio.h> int main(void) { const float f = 3.14; printf("%.2f", f); //f = 23.892; // error: assignment of read-only variable āfā } /* run: 3.14 */