Interview Questions

C/C++ Questions only (Boolean Expressions and Variables)

C++ programming on UNIX, C++ Networking,C++ Algorithm Questions and Answers


(Continued from previous question...)

C/C++ Questions only (Boolean Expressions and Variables)

1. What is the right type to use for Boolean values in C?

2. What if a built-in logical or relational operator ``returns''

something other than 1?

3. Is if(p), where p is a pointer,

(Continued on next question...)

Other Interview Questions