what is a function prototype?



what is a function prototype?..

Answer / 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

More C Interview Questions

can i know the source code for reversing a linked list with out using a temporary variable?

6 Answers   Honeywell,


What are c identifiers?

0 Answers  


what are the languages used in c#?

3 Answers   Infosys,


What does a derived class inherit from a base class a) Only the Public members of the base class b) Only the Protected members of the base class c) Both the Public and the Protected members of the base class d) .c file

0 Answers  


Explain what is the difference between null and nul?

0 Answers  






How will you write a code for accessing the length of an array without assigning it to another variable?

0 Answers  


Do you have any idea how to compare array with pointer in c?

0 Answers  


What is a void * in c?

0 Answers  


What are the types of unary operators?

0 Answers  


Is c weakly typed?

0 Answers  


can we access one file to one directory?

1 Answers  


What is a far pointer in c?

0 Answers  


Categories