answersLogoWhite

0

What is formatted functions in c?

User Avatar

Anonymous

13y ago
Updated: 8/20/2019

functions which have been modified by using different return types

User Avatar

Wiki User

13y ago

What else can I help you with?

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


Why printf is used instead of print in c?

The printf() function prints a formatted string.


Can there be friend functions in c plus plus?

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


Differentiate between formatted and informatted function in c with example?

In C, formatted functions (like printf and scanf) are used for input and output with specific formatting options, allowing you to control how data is displayed or read. For example, printf("%d", num); prints an integer with no additional formatting, while scanf("%d", &num); reads an integer from user input. In contrast, informatted functions (like puts and gets) handle strings without special formatting, directly outputting or reading data. For example, puts("Hello, World!"); simply prints the string without formatting options.


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.


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


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.