what is a function prototype?

Answers were Sorted based on User's Feedback



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

what is a function prototype?..

Answer / nashiinformaticssolutions

A function prototype declares the function's name, return type, and parameters without providing the actual implementation.

Is This Answer Correct ?    0 Yes 0 No

what is a function prototype?..

Answer / nashiinformaticssolutions

A declaration of a function that specifies its return type and parameters, e.g., int add(int, int);

Is This Answer Correct ?    0 Yes 0 No

what is a function prototype?..

Answer / glibwaresoftsolutions

A function prototype declares the function's name, return type, and parameters without providing the actual implementation.

Is This Answer Correct ?    0 Yes 0 No

what is a function prototype?..

Answer / hr@tgksolutions.com

A function prototype declares the function's name, return type, and parameters without providing the actual implementation.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C Interview Questions

what is difference between strcmp & palindrome?

3 Answers  


Why does everyone say not to use scanf? What should I use instead?

0 Answers  


Print all the palindrome numbers.If a number is not palindrome make it one by attaching the reverse to it. eg:123 output:123321 (or) 12321

7 Answers   HCL,


An application package has been provided to you without any documents for the following application. The application needs to be tested. How will you proceed?

0 Answers   Aspire, Infogain,


Explain function pointer with exapmles.

2 Answers  


Convert the following expression to postfix and prefix (A+B) * (D-C)

3 Answers   Satyam,


What is the difference between constant pointer and pointer to a constant. Give examples.

4 Answers   TCS,


What is p in text message?

0 Answers  


what r the cpu registers r ther?

1 Answers  


Will Macros support multiple arguments ?

7 Answers   Oracle,


what is the advantage of software development

1 Answers  


Explain how do I determine whether a character is numeric, alphabetic, and so on?

0 Answers  


Categories