Answer Posted / nithya
%d print the value for example
int x=2;
printf("x=%d",x);
output:
x=2
%*d print the value for example
int x=2;
printf("x=%*d",x);
output:
x= 2
the output two space(x=2) next the value will be display
(x=6) the output 6 space next the value will be display
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Explain modulus operator.
What is a pragma?
What is the scope of global variable in c?
What is the size of enum in bytes?
In c programming language, how many parameters can be passed to a function ?
What do you mean by command line argument?
Explain what is the benefit of using an enum rather than a #define constant?
Explain enumerated types.
a construct the"else" part of "if" statement contains anoth "if else" statement is called a) if-else b) else-if-else c) if-else-if-else d) chain if/if-else-if
Write a code to generate divisors of an integer?
Where can I get an ansi-compatible lint?
How does pointer work in c?
What is a program flowchart?
please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?