answersLogoWhite

0

Function prototype in c

Updated: 8/11/2023
User Avatar

Wiki User

13y ago

Best Answer

Yes. Examples can be found in stdio.h

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

10y ago

Yes, C++ supports function pointers.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Function prototype in c
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What you declare in the function prototype in c?

yes


What is prototype in C language?

A prototype in C is the declaration of a function. Without a prototype, the function cannot be called because the compiler would have no way of knowing if the function was being called correctly. Prototypes may appear in multiple translation units but can only be defined once. A definition is itself a prototype.


What is difference function prototype and function define in turbo c?

In C, a function prototype is a declaration to the compiler that a certain function exists, without a full definition. This allows other functions to call that function. The linker will later make sure that a function definition actually exists (perhaps somewhere else), and will turn the call to the function to a call to the correct function.


Why Clearscreen in c language is used?

'Clearscreen' is not used in C language. TurboC has a clrscr function (prototype in conio.h).


Explain about header files used in c language?

list of header files in c and function prototype associated with each file


What are its program components?

the main() function,the#include Directive, the variable definition. function prototype, program statements, the function definition,program comments and braces are the components of program in C++


When can a function prototype be omitted?

when we write definition of a function i.e; body of a function above main() function, then the function prototype be omitted. -Ramashankar Nayak,M.C.A,Pondicherry University


How do you define a function?

Put a function prototype in a header file or before the function is called in a C source file. void foo(void); or int bar(int,float char*);


How would you explain functions in c?

FUNCTION IN C IS DEFINED AS THE METHOD WHICH IS USED TO SOLVE THE COMPUTATIONAL PROBLEM. AND THE FUNCTON CAN BE CALLED IN ANYWHERE IN THE PROGRAM MODULE. STEPS TO DECLERE THE FUNCTION 1.FUNCTION PROTOTYPE 2.FUNCTION DECLARETEION 3.FUNCTION DEFINATION 4.FUNCTION CALL 5.FUNCTION RETUN.


What errors do function prototype help prevent?

Syntax errors and prototype errors.


What prototype for menu function takes no arguments but returns a char value?

char SomeFunction();This has nothing to do with menu functions. It is a straight C/C++ answer. Menu functions depend on the platform API, not on C/C++.


What is int86 function in C programming?

INT 86 Int86() is a C function that allows to call interrupts in the program. prototype in dos.h In and out register must be type of REGS. REGS is a built in UNION declaration in C. It is defined in the header file <DOS.h>