answersLogoWhite

0

What is formatted functions in c?

Updated: 8/20/2019
User Avatar

Wiki User

11y ago

Best Answer

functions which have been modified by using different return types

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is formatted functions in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Example of formatted functions in C?

formatted functions::: Follows a fixed format like scanf,printf Unformatted functions:::Do not have fixed format like gets,getchar


Difference between formatted and unformatted function in c with example?

Disks and partitions should be formatted before usage.


What is meaning of f in printf in c language?

formatted


What is the full form of the f in printf in c language?

formatted


Q2 Differentiate between formatted and unformatted you input and output functions?

Formatted I/P functions: These functions allow us to supply the input in a fixed format and let us obtain the output in the specified form. Formatted output converts the internal binary representation of the data to ASCII characters which are written to the output file. Formatted input reads characters from the input file and converts them to internal form. Format specifications Data type Integer short signed short unsigned long signed long unsigned unsigned hexadecimal unsigned octal %d or %l %u %ld %lu %x %o Real float double %f %lf Character signed character unsigned character %c %c String %s Unformatted I/O functions: There are several standard library functions available under this category-those that can deal with a string of characters. Unformatted Input/Output is the most basic form of input/output. Unformatted input/output transfers the internal binary representation of the data directly between memory and the file


Can there be friend functions in c plus plus?

Yes, there can be friend functions in C++.


Why printf is used instead of print in c?

The printf() function prints a formatted string.


What are the in-built function in c plus plus?

C++ built-in functions are those functions that are provided for you as part of the language itself, and includes all of the C standard library functions (all of which were inherited from C) and is expanded upon by the C++ standard template library. C++ implementors may provide additional functions that are platform-specific, however these are not considered built-in functions becuase C++ is a cross-platform language. These are best described as 3rd party functions. The functions you yourself write are known as user-defined functions.


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

C programs do not function without functions.


How you describe operations of stack ADT using c template functions?

No, because C does not support the concept of template functions. Template functions only exist in C++, never in C.


When you can use percent f in c language?

%f is used as a format mask to represent a floating point number.Any of the "formatted" io functions can use this: printf, fprintf, scanf, etc.Example:float n = 1.5;printf("%f", n); // prints the value of n


How do you override functions in c?

Not possible in C, only in C++