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
What are header files in c?
Where in memory are my variables stored?
What is the difference between union and anonymous union?
in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none
Why structure is used in c?
Which operators cannot be overloaded a) Sizeof b) .* c) :: d) all of the above
Why does everyone say not to use scanf? What should I use instead?
What functions are used for dynamic memory allocation in c language?
Difference between constant pointer and pointer to a constant.
Which header file is essential for using strcmp function?
Explain the difference between #include "..." And #include <...> In c?
What is strcpy() function?
What is the importance of c in your views?
Explain how can I convert a number to a string?
Without Computer networks, Computers will be half the use. Comment.