Hyderabad Jobs Book Website FREE PowerBuilder Training I Love Hyderabad Hyderabad Colleges
Home Business Emails Hyderabad Classifieds Contact Us
7 Wonders of Hyderabad Web Hosting Yellow Pages Our Network

 
Webpowerbuilder.hyderabad-colleges.com

Questions And Answers for PowerBuilder CPD Exam

HomePrevious Lesson: Question: #65 of #233
Next Lesson: Question: #67 of #233
Question: #66 of #233 Section: PowerScript Version: 5.0 or later

Question

Assume three local integer variables, i, j, k are declared. Can you assign a value to all those three variables in one step - such as i = j = k = 100

 [A] Yes
 [B] No

Click here to see the answer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Answer

The correct answer is: B

Click here to go to top of the page.

Click here to see the explanation.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Explanation

Value assignment as asked in the question is not allowed. However, you can compare k with 100 and assign the result to J and compare J with the first result and assign the result to I. For Example,
i = ( J = ( K = 100 ))

Click here to go to top of the page.

HomePrevious Lesson: Question: #65 of #233
Next Lesson: Question: #67 of #233

Copyright © 1996 - 2006 HamaraShehar.com Pvt. Ltd. All Rights Reserved.
Domain Registration, Website Design, Website Hosting by HamaraShehar.com