CLA-11-03 無料問題集「C++ Institute CLA - C Certified Associate Programmer」

What happens if you try to compile and run this program?
#include <stdio.h>
int main(int argc, char *argv[]) {
int i = 10 - 2 / 5 * 10 / 2 - 1;
printf("%d",i);
return 0;
}
Choose the right answer:

解説: (JPNTest メンバーにのみ表示されます)
What happens if you try to compile and run this program?
#include <stdio.h>
int i = 0;
int main (int argc, char *argv[]) {
for(i; 1; i++);
printf("%d", i);
return 0;
}
Choose the right answer:

解説: (JPNTest メンバーにのみ表示されます)
What happens if you try to compile and run this program?
#include <stdio.h>
int main (int argc, char *argv[]) {
int main, Main, mAIN = 1;
Main = main = mAIN += 1;
printf ("%d", MaIn) ;
return 0;
}
Choose the right answer:

解説: (JPNTest メンバーにのみ表示されます)
What happens if you try to compile and run this program?
#include <stdio.h>
#include <string.h>
struct STR {
int i;
char c[20];
float f;
};
int main (int argc, char *argv[]) {
struct STR str = { 1, "Hello", 3 };
printf("%d", str.i + strlen(str.c));
return 0;
}
Choose the right answer:

解説: (JPNTest メンバーにのみ表示されます)

弊社を連絡する

我々は12時間以内ですべてのお問い合わせを答えます。

オンラインサポート時間:( UTC+9 ) 9:00-24:00
月曜日から土曜日まで

サポート:現在連絡