Which line from the given code is the passive form?
#undef assert #ifdef NDEBUG #define assert (test) ( (void) 0) #else #define assert (test) #endif

Which line from the given code is the passive form?

#undef assert #ifdef NDEBUG #define assert (test) ( (void) 0) #else #define assert (test) #endif
Correct Answer #define assert(test) ((void)0)

Related Questions

If NDEBUG is defined as a macro name, at the point where is included, then assert macro is defined as #define assert(ignore) ((void)0).
What happens if the following program is compiled and executed? interface MyInterface{ void display(); } interface MySubInterface extends MyInterface{ void display(); } public class Test implements MySubInterface{ public void display(){ System.out.print("Welcome to Examveda."); } public static void main(String args[]){ Test t = new Test(); t.display(); } }
What is the result of compiling and running the following code?
public class Tester{static int x = 4;public Tester(){System.out.print(this.x); // line 1Tester();}public static void Tester(){ // line 2System.out.print(this.x); // line 3}public static void main(String... args){ // line 4new Tester();}}
What is the result of compiling and running the following code?
public class Tester{static int x = 4;int y = 9; public Tester(){System.out.print(this.x); // line 1printVariables();}public static void printVariables(){System.out.print(x); // line 2System.out.print(y); // line 3}public static void main(String... args) { // line 4new Tester();}}