where is memory for struct allocated? where is memory for class-object allocated? I replied for struct in stack and for class-object in heap. THen he asked if class has struct member variable what happens.class on heap and what about struct in that class? couldnt ans :( :-?
2 10739SQL> CREATE TABLE to_table 2 (col1 NUMBER); Table created. SQL> CREATE OR REPLACE TRIGGER statement_trigger 2 AFTER INSERT ON to_table 3 BEGIN 4 DBMS_OUTPUT.PUT_LINE('After Insert Statement Level'); 5 END; 6 / Trigger created. SQL> CREATE OR REPLACE TRIGGER row_trigger 2 AFTER INSERT ON to_table 3 FOR EACH ROW 4 BEGIN 5 DBMS_OUTPUT.PUT_LINE('After Insert Row Level'); 6 END; 7 / Trigger created. SQL> INSERT INTO TO_TABLE VALUES(1); After Insert Row Level After Insert Statement Level 1 row created. SQL> BEGIN 2 INSERT INTO TO_TABLE VALUES(2); 3 INSERT INTO TO_TABLE VALUES(3); 4 INSERT INTO TO_TABLE VALUES(4); 5 INSERT INTO TO_TABLE VALUES(5); 6 INSERT INTO TO_TABLE VALUES(6); 7 INSERT INTO TO_TABLE VALUES(7); 8 INSERT INTO TO_TABLE VALUES(8); 9 INSERT INTO TO_TABLE VALUES(9); 10 INSERT INTO TO_TABLE VALUES(0); 11 END; 12 / WAT LL BE THE O/P??? XPLAIN IT>>>>
1 4444A car cover first half of the distance with 60kmph and second half of the distance with 40kmph what is the average speed?
11 38400Post New Infosys Interview Questions
What does the error too many unrecognized commands mean?
What is the difference between mysql and mongodb? Explain
What is the HVDC Transmission System? What are the conditions applicable to lay an HVDC Line?
How do I fix a corrupted windows file?
How will you access single variable in all pages in a process/object?
Why set will not allow duplicates?
What are autoimmune diseases, and how do rheumatologists diagnose and treat them?
What is stateful bean in spring?
What are the differences between r3trans and tp in sap-dba.
Explain the use of 'bundle' in android?
Can naive bayes be used for multiclass classification?
Define concatenating?
What are the advantages of windows update?
What are the three tags used in jsp bean development?
How does node js handle child threads?