Which of the following is evaluated first:

a) &&

b) ||

c) !



Which of the following is evaluated first: a) && b) || c) !..

Answer / Yogesh Pandey

a) &&

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What can I safely assume about the initial values of variables which are not explicitly initialized?

1 Answers  


Explain how to initialize a const data member.

1 Answers  


Do class method definitions?

1 Answers  


How does throwing and catching exceptions differ from using setjmp and longjmp?

1 Answers  


1)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea += sizeof(int); } return 0; } 2)#include <iostream.h> int main() { int *a, *savea, i; savea = a = (int *) malloc(4 * sizeof(int)); for (i=0; i<4; i++) *a++ = 10 * i; for (i=0; i<4; i++) { printf("%d\n", *savea); savea ++; } return 0; } The output of this two programs will be different why?

5 Answers  


Write a note about the virtual member function?

1 Answers  


What is the outcome of cout< a) 16 b) 17 c) 16.5

1 Answers  


Explain what is polymorphism in c++?

1 Answers  


What are the weaknesses of C++?

1 Answers  


How delete [] is different from delete?

1 Answers  


What is &x in c++?

1 Answers  


Do inline functions improve performance?

1 Answers  


Categories