Ad

Chapter - 2: C Instructions

State whether the following statements are True or False.


Ad
F
Sections
1
Exercises

(a) * or /, + or - represents the correct hierarchy of arithmetic operators in C.

True: 

 

(b) [ ] and { } can be used in Arithematics instructions.

False: Only parentheses are allowed in Arithematics instructions.

 

(c) Hierarchy decides which operator is used first.

True

 

(d) In C, Arithematic instruction cannot contain constants left on side of =.

True.

 

(e) In C ** operator is used for exponential operations

False: There no ** operator in C.

 

(f) % operator cannot be used on floats.

True

Ad

© 2024 Garbage Valuegarbage value logo