Data Types and Operators on C related Questions and Answers - Page 4

Question 32 : Which of the following declaration is not supported by C?
1. String str;
2. char *str;
3. float str = 3e2;
4. Both String str; & float str = 3e2;
View Answer   Discuss with Members

Question 33 : Relational operators cannot be used on ____________
1. structure
2. long
3. strings
4. float
View Answer   Discuss with Members

Question 34 : Operation 'a = a * b + a' can also be written as ___________
1. a *= b + 1;
2. (c = a * b)!=(a = c + a);c) a = (b + 1)* a;d) All of the mentioned
3.
4.
View Answer   Discuss with Members

Question 35 : Which of the following is a ternary operator?
1. &&
2. >>=
3. ?:
4. ->
View Answer   Discuss with Members

Question 36 : Which of the following is not an arithmetic operation?
1. a *= 10;
2. a /= 10;
3. a != 10;
4. a %= 10;
View Answer   Discuss with Members

Question 38 : Which of the following data type will throw an error on modulus operation(%)?
1. char
2. short
3. int
4. float
View Answer   Discuss with Members

Question 39 : The format identifier '%i' is also used for _____ data type.
1. char
2. int
3. float
4. double
View Answer   Discuss with Members

Question 40 : Which of the following operator has the highest precedence in the following?
1. ()
2. sizeof
3. *
4. +
View Answer   Discuss with Members


View 31 - 40 of 78 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter