what is a function prototype?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
When is a “switch” statement preferable over an “if” statement?
The difference between printf and fprintf is ?
Why we use int main and void main?
Write a program to print all permutations of a given string.
Is calloc better than malloc?
What is the difference between arrays and pointers?
Write a program for Overriding.
What type is sizeof?
What is main void in c?
Method Overloading exist in c ?
write a C and C++ programme to implement the A,bubble sort B,quick sort C,insertion sort D,sequential search E,binary search
6)What would be the output? main() { int u=1,v=3; pf("%d%d",u,v); funct1(&u,&v); pf("%d%d\n",u,v); } void funct1(int *pu, int *pv) { *pu=0; *pv=0; return; } a)1 3 1 3 b)1 3 1 1 c)1 3 0 0 d)1 1 1 1 e) 3 1 3 1