what is a function prototype?

Answer Posted / chetna

it is the declaration of function which includes specifying
arguments and return type but does not include its body.
eg : int rev(int a);
here, rev is a function name of integer type and returns an
integer type value.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the difference between class and unio?

1866


FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above

627


What are enumerated types?

657


Explain c preprocessor?

687


design and implement a data structure and performs the following operation with the help of file (included 1000 student marks in 5 sub. and %also) 1.how many students are fail in all 5 subjects (if >35) 2. delete all student data those are fail in all 5 subjects. 3. update the grace marks (5 no. if exam paper is 100 marks) 4. arrange the student data in ascending order basis of marks. 5.insert double of deleted students with marks in the list.

1501






What the advantages of using Unions?

677


a way in which a pointer stores the address of a pointer which stores the value of the target value a) reference b) allocation c) multiple indirection d) none

632


What are pointers? What are stacks and queues?

585


When is a null pointer used?

644


Write a program to swap two numbers without using third variable in c?

622


What is the best way of making my program efficient?

573


Write a code of a general series where the next element is the sum of last k terms.

598


What's the difference between constant char *p and char * constant p?

660


why arguments can generally be passed to functions a) sending the values of the arguments b) sending the addresses of the arguments c) a & b d) none of the above

648


What are lookup tables in c?

552