return locale-specific information : Locale « Development « C / ANSI-C






return locale-specific information


#include <stdio.h>
#include <locale.h>

int main(void)
{
  struct lconv lc;

  lc = *localeconv();

  printf("Decimal symbol is: %s\n", lc.decimal_point);

  return 0;
}


           
       








Related examples in the same category

1.Set locale