fixed references and used autoformat

This commit is contained in:
dilanbhalla
2020-07-01 09:23:36 -07:00
parent 3fdd11a9b5
commit 25bfc3a168
3 changed files with 10 additions and 14 deletions

View File

@@ -1,12 +1,13 @@
///// Library routines /////
int scanf(const char* format, ... );
int sscanf(const char* str, const char* format, ...);
int fscanf(const char* str, const char* format, ...);
int scanf(const char *format, ...);
int sscanf(const char *str, const char *format, ...);
int fscanf(const char *str, const char *format, ...);
///// Test code /////
int main(int argc, char** argv) {
int main(int argc, char **argv)
{
// BAD, do not use scanf without specifying a length first
char buf1[10];