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 will be maximum number of comparisons when number of elements are given?
Is c dynamically typed?
What is the value of uninitialized variable in c?
What is function pointer c?
What are the header files used in c language?
What is an identifier?
Which built-in library function can be used to match a patter from the string?
What is the difference between malloc() and calloc() function in c language?
What are the 32 keywords in c?
Can we use any name in place of argv and argc as command line arguments?
What is equivalent to ++i+++j?
Explain how can you be sure that a program follows the ansi c standard?
Which header file should you include if you are to develop a function which can accept variable number of arguments?
When do you not use the keyword 'return' when defining a function a) Always b) Never c) When the function returns void d) dfd
Can you pass an entire structure to functions?