Computer Science, asked by lalchandjhorar1088, 3 months ago

which of the following character is use to terminate as Instruction In a c program?
(1) ,(comma)
(2) : (Colon)
(3) ; (semicolon)
(4) .(period) ​

Answers

Answered by Anonymous
16

Answer:

"Semicolon"

In programming, Semicolon symbol plays a vital role. It is used to show the termination of instruction in various programming languages as well, like C, C++, Java, JavaScript and Python.

Answered by SamakshThakur
0

Answer:

1. Which of the following character is used to terminate an instruction in a C program?

(a) , (comma) (b) : (colon)

(c) ; (semicolon) (d) . (period)

2. Which of the following cannot be a first letter of an identifier?

(a) Digit (b) underscore

(c) Alphabet (d) All of above

3. Which of the following errors does the compiler catch?

(a) Logical errors (b) Runtime errors

(c) Syntax errors (d) All of above

4. Find the odd term

(a) Source code (b) Object code

(c) Executable code (d) ASCII code

5. The term debugging refers to ________.

(a) the process of translating the source code to object code

(b) the process of linking the object code with the system libraries

(c) the process of identifying the bugs and fixing them

(d) None of above

6. Which of the following is not a valid integer constant of type int?

(a) 3750 (b) 32800

(c) 32767 (d) 0

7. How much memory is required to store a value of type double?

(a) 4 bytes (b) 6 bytes

(c) 8 bytes (d) 10 bytes

8. Which of the following modifier is used to declare a variable as constant?

(a) unsigned (b) short

(c) signed (d) const

9. What will be the value of expression 5 / 6 / 3 + 8 / 3?

(a) 4 (b) 2

(c) 2.333 (approx.) (d) None of above

10. Which of the following doesn‟t denote a primitive data value in C?

(a) “a” (b) „k‟

(c) 35.25 (d) 014

11. Consider the following statement in C language

x = (a > b) ? ((a > c) ? a : c) : (b > c) ? b : c;

What will be the value of x if a = 3, b = 5, c = 2?

Explanation:

In programming, Semicolon symbol plays a vital role. It is used to show the termination of instruction in various programming languages as well, like C, C++, Java, JavaScript and Python.Apr 23, 2020

Similar questions