P179. Understanding ( sscanf ) function Get link Facebook X Pinterest Email Other Apps #include<stdio.h> void main() { int i; float f; char c; char s[20]="1010.20c"; sscanf(s,"%d%f%c",&i,&f,&c); printf("%d\n",i); printf("%f\n",f); printf("%c\n",c); } Get link Facebook X Pinterest Email Other Apps Comments
Comments
Post a Comment