Skip to content

Instantly share code, notes, and snippets.

@yuki2006
Created August 26, 2013 09:02
Show Gist options
  • Save yuki2006/6339434 to your computer and use it in GitHub Desktop.
Save yuki2006/6339434 to your computer and use it in GitHub Desktop.
#include<stdio.h>
int main(){
char a=123;
const char* c=&a;
int d;
sscanf(c,"%d",&d);
//出力用
printf("%d",d);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment