Question 1 The name of the term on the right-hand side of an assignment operator is: Question 2 The following statement is legal in C:
Question 1
The name of the term on the right-hand side of an assignment operator is:
Question 2 The following statement is legal in C: 10 = 5+x;
True False
Question 3 When you declare a variable, the compiler will reserve enough space in data memory to hold the value.
True False
Question 4 In C, source code statements that begin with the pound sign (#) are called?
Question 5 Which of the following C arithmetic operations will divide an existing value of xValue (previously declared as an int) and modify xValue with the result?
a.xValue %= 2;
b.xValue % 2;
c.xValue / 2;
d.xValue /= 2;
Question 6 Computers execute machine instructions in the order the programmer specifies.
True False
Question 7 Select all statements which are TRUE about declaring variables in C
a.All variables must have a data type.
b.Variable names can begin with an alphabetic or numeric character.
c.The only special character permitted in a variable name is the underscore (_).
d.Variable names are NOT case-sensitive.
Question 8 The ASCII character set assigns a numerical value to every printable character and punctuation mark in the English language, as well as some non-printable characters.
True False
Question 9 The following C statement will print All Is Well (although not in bold font) at the beginning of a line
printf (" All Is Well");
True False
Step by Step Solution
There are 3 Steps involved in it
Step: 1
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started