answersLogoWhite

0


Best Answer

#include<stdio.h>

Another answer: Nothing.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the header file for swap function?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the header file of scanf function?

stdio.h


Which header file has clrscr function?

conio.h


Which header file must be included to use the function pow?

The std::pow() function can be found in the &lt;cmath&gt; header.


What is the header file for string library function?

string.h


Is header file the library file?

No. Header files are those which contains declaration part of function &amp; library files are those which contains definition part of function. These are those functions which we called in our program by using header files.


How do you design inline function as a member function?

You define the function at the same time you declare it, usually in the header file, sometimes in an .hpp file.


How do you correct the C plus plus programming error missing function header?

You need to #include the header file that contains the missing function's declaration.


How do you create a user defined header file?

Header files are not much different from usual cpp files. There are basically two different things. It's file extension: you need to choose "header file" when you create it or save as .h file. Second is header files do not have main() function. When you are done with you header file do not forger to include it in your project by writing preprocessor directive:#include "your_header_file.h"


Why you use header file namely stdlib?

It contains useful function-prototypes.


Explain about header files used in c language?

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


Difference between library file and header file?

EX: pgm #include&lt;stdio.h&gt; main() { printf("haiii"); } Header file: (1) contains the function(printf) declaration (2) during preprocessing, the printf function is replaced by the function declaration Library file : (1) contains the function(printf) definition (2) during linking, the function declaration is replaced with the function definition.obviously, everything will be in object while linking


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*);