Question: <SCRIPT LANGUAGE="VBScript" RUNAT=Server> a = 1 </SCRIPT> <SCRIPT LANGUAGE="VBScript"> a = 2 </SCRIPT> <% Response.Write a %> In the sample code shown above, what will be written to the screen?
Answer: A. 1 B. 2 C. 1, 2 D. 1&2 E. Nothing. (Answer)
Question:
<SCRIPT LANGUAGE="VBScript" RUNAT=Server> a = 1 </SCRIPT> <SCRIPT LANGUAGE="VBScript"> a = 2 </SCRIPT> <% Response.Write a %> In the sample code shown above, what will be written to the screen? Answer:
A. 1 B. 2 C. 1, 2 D. 1&2 E. Nothing. (Answer) Source: CoolInterview.com
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
There should not be any Spelling Mistakes.
There should not be any Gramatical Errors.
Answers must not contain any bad words.
Answers should not be the repeat of same answer, already approved.
Answer should be complete in itself.
Related Questions
View Answer
<% Set Application("Thing") = Server.CreateObject("THINGDOER.thingy") %> The above code appears in the global.asa file. What would it accomplish?