answersLogoWhite

0


Best Answer

You can write a program without specifying its prototype when the function returns an integer.If the prototype is not mentioned the compiler thinks that the return type of the function used is integer.When making program which return integer you can ignore writing the protoype.

User Avatar

Wiki User

13y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can you write a program without specifying the prototype of any function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Can you write a program without defining the function prototype?

Sure: int main (void) { puts ("Hello, world"); return 0; }


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.


Can we execute java program without main function?

no


How did Americans win?

Without specifying what they won, it is impossible to answer.


Write a program in C without any functions?

It is not possible. In C, any program must have at least one function to be able to compile and execute properly: the function main()


What is the importance of using functions in a c program?

C programs do not function without functions.


A c program to call a function without using function name?

It can be done via its address, for example: void function (void (*callback)(void)) { (*callback)(); }


Can you write a program without using any semicolon inside the main function?

not possible dude


Write a Program to convert decimal number into hexadecimal no without using function and string?

This is not a question.


How can you find a program in Windows 7 without browsing through the program list in the Start Menu?

Use the 'search' function in the Start menu.


Where does it talk about black Jews?

Without specifying an "it", the question cannot be answered.