TEST Which one of the following statements is incorrect on C
TEST
Which one of the following statements is incorrect on C or C++ which are preferred in embedded design and implementation. a. A C program is easy to debug than its equivalent assembly program. b. Mixed C and ASM coding is possible in an ARM based embedded system design. c. AC program generally can be compiled into more compact machine codes than the same program written in assembly. d. Compared with assembly, C/C++ are more efficient in software development. Assume a C variable X_Reg is a control register One of the following C sentences is to clear bit land bit 3 of the register. Which one? a. X_Reg & = ~((1Solution
(1) answer is option (c)
(2) answer is option (a)
(3) answer is option (d)
All options except d are necessary
(4) answer is option (c)
The programmer must take care in parameter passing in assembly functions
(5) answer is option (c)
All other statements are relating to C programming except option (c)
