⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 z-1.c

📁 this is a gcc file, you can download it and learn its usetility, for further detail please look at t
💻 C
字号:
/* Test for bugs with %z and %Z formats.  See PRs c/89, c/156, c/376.  *//* Origin: Joseph Myers <jsm28@cam.ac.uk> *//* { dg-do compile } *//* { dg-options "-Wformat" } */#include "format.h"size_tfoo (void){  size_t t;  scanf ("%zu", &t); /* { dg-bogus "length|format" "bogus scanf warning" } */  return t;}voidbar (size_t t){  printf ("%zu\n", t); /* { dg-bogus "format" "bogus printf warning" } */}/* The %Z printf format is an old GNU libc extension to do the same thing.  */voidbaz (size_t t){  printf ("%Zu\n", t); /* { dg-bogus "format" "bogus printf warning" } */}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -