当前位置: X题卡 > 所有题目 > 题目详情

设有定义:longx=-123456L;,则以下能够正确输出变量x值的语句是()

查看本题答案

你可能感兴趣的试题

printf("x=%d",x);  printf("x=%id/a",x);  printf("x=%dL”,x);  printf("x=%ld",x);  
printf("x=%d",x);  printf("x=%1d",x);  printf("x=%8dL",x);  printf("x=%LD",x);  
printf("x=%d",;  printf("x=%1d",;  printf("x=%8dL",;  printf("x=%LD",;  
x=value;  x=C://:value;  p=&value  p=C://:value  
printf("x=%d",;  printf("x=%ld",;  printf("x=%8dL",;  printf("x=%LD",;  
printf(“x=%d”,x)  printf(“x=%ld”,x)  printf(“x=l”,x)  printf(“x=%D”,x)  
printf("x=%d",;  printf("x=%1d",;  printf("x=%8dL",;  printf("x=%LD",;  
printf("x=%d",x);  printf("x=%id",x);  printf("x=%d",x);  printf("x=%ld",x);  
printf("x=%d",x);  printf("x=%1d",x);  peintf("x=%8dL",x);  printf('x=%LD",x);  
printf("x=%d",x);  printf("x=%1d",x);  printf("x=%8dL",x);  printf("x=%LD",x);  
printf("x=%d",x);  printf("x=%id/a",x);  printf("x=%dL”,x);  printf("x=%ld",x);  
printf(“x=%d”,x);  printf(“x=%1d”,x);  printf(“x=%8dL”,x);  pfintf(“x=%LD”,x);  
printf("x=%d",x);  printf("x=%ld",x);  printf("x=%8dL",x);  printf("x=%LD",x);  
输出语句中格式说明符的个数少于输出项的个数,不能正确输出  运行时产生错误信息  输出值为2009  输出值为2010  
printf("x=%d",x);  printf("x=%1d",x);  printf("x=%8dL",x);  printf("x=%LD",x);  

热门试题

更多