answersLogoWhite

0

What are the different types of format specifiers in c?

Updated: 8/18/2019
User Avatar

Wiki User

11y ago

Best Answer

format specifier also called as control specifier or variable formatters.

format string also called arguments.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are the different types of format specifiers in c?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Why the format specifiers are not used in cpp?

You might be wrong: printf and scanf are usable in C++ just as in C. With format specifiers.


What are Format specifiers in C language?

Format specifier is a sequence passed the as the formatting data as by argument


Explain the different access storage specifiers available in c?

The storage class specifiers in C and C++ are:autoexternmutableregisterstatictypedefA storage class specifier is used to refine the declaration of a variable, a function, and parameters


What are different access specifiers in c sharp?

public private internal protected internal protected


Why format specifier is not necessary in language C plus plus?

Format specifiers are not necessary because we can use the much more flexible insertion operator to insert formatted text in an output stream, or the extraction operator to extract formatted data from an input stream. Format specifiers are simply far too low-level and can only handle built-in data types such as strings, integrals and floats, they cannot handle more complex data types such as classes and data structures and we cannot create new specifiers to cater for them. But in C++ we can simply overload the insertion and extraction operators to cater for any data type we wish, thus providing a consistent means of inserting any object into an input stream or extracting it from an output stream.


What are the access specifiers in c?

Satya


What is a format specifier?

There are many types of format specifier. Exp:%d (To show the integer) %c(To show the character) %f(Float are digits with decimal points to use it to show them) %s(String to show the string)


What do you mean by access specifier in c?

There are no access specifiers in C. All functions and data are public.


How do you format c?

If your Windows operating system is not installed on drive C, you can simply format using the inbuilt formatting tool. Otherwise, you need to boot your computer using an operating system on different drive to format C.


What is the different types of language?

c, c++, java


What are the advantages of cout and cin intsead of printf and scanf?

printf and scanf apply to C strings and are not considered type safe for C++ programming. The format specifiers are also quite cryptic. Although they often result in shorter code, it is arguable whether the code is more readable. The C++ standard library is type safe and makes it abundantly clear what is going on.


What is format specifier in c or turbo c?

format specifier in c is %