answersLogoWhite

0

Via its name, like:

int main (void)

{

printf ("I'm calling printf right now\n");

return 0;

}

User Avatar

Wiki User

16y ago

What else can I help you with?

Related Questions

What is a function to read chars from a certain position to another position in file in C?

Call functions fread, then function fseek, then function fwrite.


What you meant by function call function definition and the function declaration in c and c plus plus?

A function call is a function that is called from within another function. Functions must be declared before they can be called, in order to establish the function's prototype (signature) so the compiler knows which function to call. The function definition contains the implementation of the function and may be specified in the declaration itself (inline), or it can be defined in another file altogether. Declarations are typically placed in a header file so that they may be included (#include) in any files that require them, including the file containing the definition of the function declared in the header file. Including a file is the same as typing the file contents in full at the point of inclusion, thus ensure the declarations are available to the compiler before they are used. The following example shows a forward declaration of a function that is defined later. // forward declaration. int square(int); // the main function (the entry point of application). int main() { // a function call. int s = square( 5 ); // returns the value 25 to the calling process (e.g., the operating system). return( s ); } // definition of the function declared earlier. int square(int data) { // returns the square of the data to the calling function, e.g., main(). return( data * data ); } Function is a self contained block or a sub program of one or more statements that performs a special task when called.


What is the header file for swap function?

#include<stdio.h> Another answer: Nothing.


What do you call the copying of file from another computer to your computer?

Transferring files


How could you insert or call the OBJ file in c source code?

You will need to define any functions used as "external", then when you link the object code you will make sure that the object file with the function is included in the link command. Then you just call the function as though it were local.


Why does remote procedure call fail?

Generally due to network communication failure, a malfunctioning program or poor design. RPC is a means of running code on another device. An example is calling a function on another computer to open a file and another to read from it. If the remote computer can't be contacted or the program in the other computer is busy, it could fail. Sometimes the call itself may work, but the function being called says something has failed.


How do you call an external function or program that is written in different programming language?

It doesn't matter what language the external program or function was written in since all executables must be converted to machine code. To execute an external function, that function must reside in a library to which your program is linked and you must know the prototype of the function you intend to call. This is usually found in the library header file which can simply be included in your program. You can then call the external function just as you would an internal function. To execute a specific function in another program, however, you must use the command line interface for that program.


What is the difference between fseek and lseek?

lseek is a system call, but fseek is a C function belonging to the ANSI C standard library, and included in the file stdio.h lseek uses file descriptor (return by open system call), but fseek uses pointer to FILE structure (return by fopen ANSI C library function) (though file desctor and FILE * can be used interchangeably several times). System calls are to communicate directly with an operating system. Generally, system calls are slower than normal function calls.


Can the function of another class be in another class?

Yes it can but why would you repeat the functions. If you create a module and say Public Function all you need to do call the function name and you will be able to use it.


Can you define a function inside a function?

No. Functions should be defined separately. So you would not define a function within a function. You can define one function, and while defining another function, you can call the first function from its code.


Can you declare a function in the body of another function in c language?

yes, we can not declare a function in the body of another function. but if we declare a function in the body of another function then we can call that very function only in that particular function in which it is declared; and that declared function is not known to other functions present in your programme. So if a function is required in almost all functions of your programme so you must declare it outside the main function i.e in the beginning of your programme.


When I run a batch file I can open another one in it but how do I make it so that when I open it the rest of the file doesn't exacute until the opened one exits?

Use the CALL command. Enter "CALL /?" at the command prompt for details.