Which of the following statements is true?

a. Both syntax errors and logic errors are caught by the compiler.
b. Both syntax errors and logic errors have effects at execution time.
c. Syntax errors are caught by the compiler. Logic errors have effects at execution time.
d. Logic errors are caught by the compiler. Syntax errors have effects at execution time.


c. Syntax errors are caught by the compiler. Logic errors have their effects at execution time.

Computer Science & Information Technology

You might also like to view...

In what circumstances might disk scheduling actually result in poorer performance than FCFS?

What will be an ideal response?

Computer Science & Information Technology

Case 12-2David is using Java to write a program that allows elements to be inserted and removed from an array.David knows that when inserting an element, the target index needs to be ____ the logical size

A. less than B. less than or equal to C. equal to D. greater than or equal to

Computer Science & Information Technology

When an item is inserted into an array, the logical size of the array increases.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology

After creating two variables as follows:char message1[81] = "this is a string";char *message2 = "this is a string";The statement ____ is not valid in C.

A. message1 = "A new message"; B. message2 = "A new message"; C. message2 = message1; D. message2[0] = 'T';

Computer Science & Information Technology