1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include <stdlib.h> int main(void) { int i; double d; i = atoi("100"); printf("%d \n", i); d = atof("36.5"); printf("%f \n", d); return 0; } | cs |