下列只能读不能写的文件打开方式是( )。
- A.Input
- B.Output
- C.Random
- D.Append
热度🔥548
解析:打开微信小程序查看本题解析
有以下程序
#include
#include
struct A
{
int a;
char b[10];
double c;
};
void f(struct A t);
main()
{
struct A a={1001,"ZhangDa",1098.0};
f(a);
printf("%d,%s,%6.1f\n", a.a,a.b,a.c);
}
void f(struct A t)
{
t.a=1002;
strcpy(t.b,"ChangRong");
t.c=1202.0;
}
程序运行后的输出结果是
若有以下程序
#include
main()
{ int a=0,b=0,c=0;
c= (a -= ++a), (a+=b, b+=4);
printf("%d,%d,%d\n",a,b,c);
}
则程序的输出结果是
以下关于文件的叙述中,错误的是( )。
在数据库管理系统中,为保证并发事务的正确执行,需采用一定的并发控制技术。下列关于基于锁的并发控制技术的说法,错误的是( )