Do You Really Know C Language...

Do You Really Know C Language...

see how much you know about C language.. Sucks.. ? Not bad.. ? Very good .. ? Well done.. ?

开始 分享
Do You Really Know C Language...
Do You Really Know C Language...
In C programming, what does i equal at the end of the following piece (snippet) of code?

i = 1;
i *= 5;
i += 3;
题 2 out of 10
1 3 5 8
Do You Really Know C Language...
When programming in C, what will j equal at the end of the following piece (snippet) of code?

i = 1;
j = 0;
if( i = 1 ) j = 3;
if( i = 2 ) j = 5;
题 3 out of 10
Do You Really Know C Language...
what is the output of this code..
void main()
{ int const * p=5;
printf("%d",++(*p));
}
Do You Really Know C Language...
what is the output of this code..
main() { extern int i; i=20; printf("%d",i); }
Do You Really Know C Language...
what is the output..

#include
int main(){
float f=1.63;
if(f==1.63)
printf("true");
else
printf("flase");
getch();}
题 6 out of 10
Do You Really Know C Language...
What will be output if you will execute following c code?
#include
int main(){
int x=25;
if(!!x)
printf("%d",!x);
else
printf("%d",x);
return 0;
}
题 7 out of 10
0 1 -1 25
Do You Really Know C Language...
What will be output if you will execute following c code?
#include
int main(){
int x=5, y=10;
if(!(!x) && x)
printf("%d",x);
else
printf("%d",y);
return 0 ;
}
题 8 out of 10
Do You Really Know C Language...
What will be output if you will execute following c code?
#include
int main(){
int x=3, y=4, z=4;
printf("%d", (z>=y>=x?100:200));

return 0 ;
题 9 out of 10
Do You Really Know C Language...
What will be output if you will execute following c code?
#include
auto int a=5;
int main(){
int x;
x=~a+a&a+a< printf("%d",x);
return 0;
题 10 out of 10