What is difference between function and procedure?

Answer Posted / babu

1.Function always return a single value but procedure may
return more than one value.
2.We can use functions in select statement but we can not
use procedure in select statement.
3.There is possible of recurssive functionlike max(min
(something)),but there is nothing like in procedure.
4.In function we use a return keyword but in procedure no
return keyword is used.

Is This Answer Correct ?    8 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When to use shared and local object repository?

622


can the activities of test case design be automated?

1446


What is a quick test professional?

618


I want to open a Notepad window without recording a test and I do not want to use System utility Run command as well. How do I do this?

615


unique properties of button,edit box, radio button,check box?

3810






What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

690


How does you pass optional arguments in qtp?

557


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1676


What is the difference between Keyword Driven test and Data Driven test?

1767


How will you report the bug and explain the defect tracking sheet you handled?

2540


Hybrid framework supports Descriptive programming. Is it true?

641


what and how to answer for the question "tell me about yourself ?" for 3 years experience. can anyone say inj detail please... its urgent

1330


I need Major Help with a Script I recorded in QTP 9.5. I am recording scripts for a Web-based application(s) I have all the URLs for each application in Excel spreadhsheet so that QTP can pull that particular application from the spreadsheet and run it. The problem is QTP isn't recognizing one particular URL so when I hit run in QTP to run this script it opens the internet Explorer but isn't open the URL I have in the Excel spreadsheet. I've retyped the URL and still QTP won't open this Particular one for some reason. The site its self is working fine but for whatever reason QTP won't open it. How do I resolve this? I have a deadline of next Friday the 7th to complete this task so please help me in any way you can. Thanks in advance

1703


Is it possible to use two instances of UFT on the same machine? If not why?

589


Dis advantages of XML checkpoint ?

1573