The correct statement in the following is ( )
A. Comments in C programs can only appear at the beginning of the program and after statements
B. C program writing format is strict, requiring only one sentence in a line
C program writing format is free, a statement can be written on multiple lines
D. The program written in C language can only be placed in one source program file
查看答案
In the following description, which one is wrong? ( ).
A. The executable program of C language is composed of a series of machine instructions
B. The source program written in C language can not run directly on the computer
C. The compiled binary object program needs to be connected to run
D. The. exe file generated by C source program cannot be run on the machine without C language integrated development environment installed
In the following statement about the algorithm, the wrong one is ( ).
A. The algorithm cannot be implemented by computer program
B. The algorithm for solving a problem can be infinite
C. The feasibility of the algorithm means that the instruction cannot be ambiguous
D. All of the above are wrong
If the system allocates 2 bytes for int type, 1 byte for char type and 8 bytes for double type, then if there are the following statements, the number of bytes in memory occupied by variable ss is ( ). struct s { int m; char c; double d; }ss;
A. 8
B. 1
C. 11
D. 2
A character constant is a character enclosed in double quotes.