answersLogoWhite

0


Best Answer

This is found in the printf family of functions. The % is just a flag that says that the next character specifies a variable type.

%c character

%d signed integers

%i signed integers

%e scientific notation, with a lowercase "e"

%E scientific notation, with a uppercase "E"

%f floating point

%g use %e or %f, whichever is shorter

%G use %E or %f, whichever is shorter

%o octal

%s a string of characters

%u unsigned integer

%x unsigned hexadecimal, with lowercase letters

%X unsigned hexadecimal, with uppercase letters

%p a pointer

%n the argument shall be a pointer to an integer into which is placed the number of characters written so far

%% a '%' sign

User Avatar

Wiki User

13y ago
This answer is:
User Avatar
More answers
User Avatar

Wiki User

12y ago

The %d code is a printf format specifier that says to take the next argument and convert it into a decimal, based on an int.

for (int i = -3; i < 4; ++i) printf ("i: %d i squared: %d\n", i, i*i);

will print

i: -3 i squared: 9

i: -2 i squared: 4

i: -1 i squared: 1

i: 0 i squared: 0

i: 1 i squared: 1

i: 2 i squared: 4

i: 3 i squared: 9

on stdout.

This answer is:
User Avatar

User Avatar

Wiki User

9y ago

The meaning of percent a in c language is that it is a float handling operator.

It prints out a float variable type into a hexadecimal number.

This answer is:
User Avatar

User Avatar

Wiki User

11y ago

%d

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the meaning of percent a in c language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is meaning of keyword in c language?

'Keyword' is a synonym for 'reserved word', it is not specific to C language.


What is meaning of f in printf in c language?

formatted


What is Meaning of c in c language?

There is no meaning for the C in C-language. Previously , there was a language called BCPL (Basic combined programming language) ,Ken thompson improved this language and named as B language. After several modifications and inclusion of advanced features such as Pointers , Dennis Richie named it as C , (C comes after B in Alphabetical Order) So , name for that Language came in this way. Later Bjourne Strostrup included Object Oriented features to C , and Named 'C with Classes ' and later C++.


What percentage of brits can speak another language out of A 33 percent B 85 percent C 15 percent?

33%


How will you print percent in c language?

putchar ('%'); puts ("%"); printf ("%%"); etc...


IN cobol programming language what is the meaning of add AB giving C?

Let c = a+b


What do the two plus stand for in C plus plus?

The ++ in C++ refers to the postfix increment operator (operator++()). It's literal meaning is "the successor to C", in reference to the C language upon which the C++ language is based.


When you can use percent D in c language?

To define any integer type value.


What does c sur mean in French?

"c sur" is text language for "c'est sur", meaning "that's sure" in English.


The meaning of if in C language?

if is a like a choicee.g.if (x==1) if x is equal to 1 then it will print "x=1"{printf("x=1);}else{printf("x does not =1")}Answer: If is an identifier, if is a statement.


What has the author C K Ogden written?

C. K Ogden has written: 'The ABC of psychology' -- subject(s): Psychology 'The meaning of meaning' -- subject(s): Language and languages, Meaning (Psychology), Philosophy, Psycholinguistics, Semiotics


Why c language has name c why not a?

C-language was derived from B-language.