嗨我想知道有没有办法存储randnumber而不提示用户输入。在这个例子中,我们希望用户存储在阵列storerand 16个randnumbers不提示用户的randnums例如: #include<stdio.h>
#include<stdlib.h>
void main() {
int randnum;
int i=0;
int storerand[16];
我是一个新的程序员,主要使用Code :: Blocks for C 。 我最近发现了关于typeof(),因为它被隐藏为__typeof __() ,我想知道是否可以保存类型作为typeof的结果。是这样的: type a = __typeof__(?);
或者 #define typeof __typeof__
type a = typeof(?);
这可能吗?