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

I m new to the dbms. Recently i came across words clustered indexes & nonclustered indexes but i dont know what is this all about & whats the difference between them.. So please help me!!!!!!!!

0 Answers  


what is posix?

1 Answers   HCL,


Is class is a abstract datatype in java?

0 Answers  


DIFFERENCE BETWEEN BINDING LANG AND BIND DIR WHEN USING IN SERVICE PGM

0 Answers   CTS,


Please anyone tell me coding to print prime numbers from 1 to 5000 in c#....

2 Answers  






what do you man by firmware

4 Answers  


As per interoperatbility programs written in one language can be used by other language. How can we restrict the features of one language (say C#) in the programmer written in another language (say VB)..for example we have some features like operator overloading which is possible C#.NET (not in VB.NET), how can we restrict that when we are using this code in VB.NET.

0 Answers   Tesco,


Explain three modes in which files can be accessed from python program

0 Answers   Peerless,


Hi can you please send me recent(present) interview questions and technical qyestions with answers for "BUSSIESS OBJECTS" and "DATA WAREHOUSE".pls its urgent for me my mail id is sekhar.cs82@gmail.com,manjuforgis@gmail.com. thanks in advance

0 Answers  


Given a cube of size n*n*n (i.e made up of n^3 smaller cubes), find the number of smaller cubes on the surface. Extend this to k-dimension.

0 Answers   Amazon,


. With the help of above table EMP, perform the following operation is sql. a) Add the new column “DEPTNO” b) Rename the table c) Update table d) Modify the table if column ‘SAL’ whose data type is number (10) and you want to enter varchar2 (15) . For example $USD 20 etc.

2 Answers  


write the a cl program with the following specification A. Accept 2 parameters-date and date type B. if date type is J then convert date to *MDY format C. if date type is M convert date to *JUL format 4.send a program message with the value of converted date Please explain for each with coding?

0 Answers  


Categories