GeekInterview.com
   Home |  Tech FAQ  |   Interview Questions |  Placement Papers |  Tech Articles |  Learn |  Freelance Projects |  Online Testing |  Geeks Talk |  Job Postings |  Knowledge Base | Site Search |  Add/Ask Question

  GeekInterview.com  >  Interview Questions  >  Microsoft  >  ASP

 Print  |  
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.



November 11, 2005 03:20:36 #10
 ashokmani   Member Since: Visitor    Total Comments: N/A 

RE: <SCRIPT LANGUAGE="VBScript" RUNAT=Server>...
 

Hi,

        The answer is : E. Nothing

     

 

Back To Question