Answer Posted / meruva
%d means it prints only given value,
and %*d means it prints garbage value.
for eg: //it prints i value is=10
int i=10;
printf("i value is=%d",i);
//it prints garbage value
int i=10;
printf("i value is=%*d",i);
| Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
Why pointers are used?
Can a pointer be volatile in c?
Can include files be nested?
What are the c keywords?
What is the difference between functions abs() and fabs()?
What is array within structure?
Which are low level languages?
What are the standard predefined macros?
Write a code to remove duplicates in a string.
What is d scanf?
What is else if ladder?
Difference between Shallow copy and Deep copy?
Here is a neat trick for checking whether two strings are equal
Why is this loop always executing once?
Explain Function Pointer?