what diffrence between procedure and function?

Answers were Sorted based on User's Feedback



what diffrence between procedure and function?..

Answer / asdf

a procedure doesnt return anything to the calling procedure
whereas a function returns a value to the calling function
.. this is the diff..

Is This Answer Correct ?    4 Yes 0 No

what diffrence between procedure and function?..

Answer / sarath_doubt

Procedure does not contain a return type, but a function
consists a return type.

Is This Answer Correct ?    3 Yes 0 No

what diffrence between procedure and function?..

Answer / aff

i disagree to both of the answers, i guess procedure and function both are the same.
void draw()
int draw()
you people means to say that i will call the first one as procedure and second one as function! no both can call as procedure and function as well.

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More Programming Languages AllOther Interview Questions

How Many versions are there in crystal reports

2 Answers   Wipro,


Display names and numbers of employees who have 5 years or more experience and  salary less than Rs.15000 using array of structures (name, number, experience and  salary)

0 Answers  


Always use scope terminator like End-If with IF, End- Evaluate with Evaluate statement.Can somebody explain me the detail logical explanation?

0 Answers  


what are wrapper classes

2 Answers  


what is adodb??y it is used for connection of V.B and access??what is ado?dao?

0 Answers   TCS,


What is easiest way to get the PL/i compiler,I didn't have found the compiler in my library. Is there any extra cost if we want to access the PL/1 programs?Actually we r having Mainframe rented training Ids

0 Answers  


what is delegate and delegation model give the real live example on delegate model

0 Answers   TCS,


Why we need new operator in java at the time of object declaration and why not in c++?

1 Answers   Zensar,


Q1.Write a C program which asks the user for a number between 1 to 9 and shows the  number. If the user inputs a number out of the specified range, the program should  show an error and prompt the user for a valid input.

0 Answers  


Hi..Am done with my Masters recently..Am planning to learn TIBCO.. could anyone suggest me about how the job market will be and Is there any course necessary to learn prior to Tibco..i mean any prerequisite. I dnt have any knowledge on PL/SQL thats it... Plz suggest me in a best way...

0 Answers  


What is the difference beween joblib and steplib statements

0 Answers   Maples,


What is the client concept in SAP? What is the meaning of client independent?

3 Answers  


Categories