what diffrence between procedure and function?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
How should a programmer decide whether to use a macro or a subroutine to accomplish a given logical function
1 Answers R V College of Engineering, University of Jordan,
Suppose we are doing 4 operations on database using service, first operation is successful but due to some reason remaining 3 operations are failed. I) is this transaction successful or not? ii) How can you give that error message to user?
Write a shell program to test whether a given year is leap year or not ?
define profiler???
merge sort time complexity
6 Answers BFL, CDAC, IBM, Jawaharlal Nehru Technological University JNTU,
How to find out the user exit for va01.
While joining files if only two files are mentioned with jfile keyword, do we required to use join keyword????
Can we write a method in JSP.If so how?
Given a Binary Search Tree, write a program to print the kth smallest element without using any static/global variable. You can?t pass the value k to any function also.
I need source code for Enrollment System using Visual Basic 6.0/2008 database MS Access 2007 for my school thesis project...please help me..kindly send in my email jpinedamcp@gmail.com
how many types of operating system are avaliable?
How to use string functions in QTP?give some examples