i he term ab is a correct arithmetic expression. ), #INCLUDE is a valid directiv
ID: 3594616 • Letter: I
Question
i he term ab is a correct arithmetic expression. ), #INCLUDE is a valid directive 9. For a float data, 6.3 for %10.1 F are legal format specifications. 10. The default case label in a switch statement is optional. B. Choose the best 1. Which of the following are illegal identifiers? 2. answers (more than one may be correct for some cases): [5 points] a. dogs2 Which of the following are incorrect C assignment statements? b. cat number d. area% c.pears.3 c. year-days-365; c.negative of a number d while = 32; 3· The unary operator ~ does which of the following functions? 4· The condition if(valid) means 5. The assignment statement a = b + c + d simplifies to C. Match the following Escape characters with their corresponding ASCII values given in hexade year= 1967; b. day = 24 hours; 2s complement if (valid != 0) a=bt(c + d); b. 1s complement d. modulo two a. b. if(!valid0) c. if(valid-0) d. if(!valid != 0) a. b, a = b + (b + c + d); c.a=(b-bt(c + d));d, a = b = (b = c + d) a. notation: [5 points] a. VTAB b. BELL c. BACKSLASH d. CARRIAGE RETURN 1·1x27, 2·1x22, 31x9, 4· 1x5C,Explanation / Answer
Part B:
Which of the following is illegal identifier?
d.area%
Description:dogs2 can be used since it contains the numbers and character.
cat_number and pears_3 can be used as identifier.while % cannot be used in variable
2) Which of the following is incorrect assignment in C statement?
b. day=24 hour and d. while =32
Description: b option is incorrect 24 hours is number not variable name
d is incorrect because while is keyword used in c it cannot be a variable name
3)unary operator does which of the following function
Ans: b.ones complement and c.negative of number
4) The condition if(!valid ) means
Ans: if(valid==0)
5) The assignment operator a = b+ =c+d simplifies to
Ans: c, a = (b=(b+c+d))
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.