what is the difference between %d and %*d in c languaga?
Answer Posted / vishal pandey
int v=23,d=89;
printf("%d %*d",v,d);
then o/p v=23 and d=address value and address value change with processor but original value does not change.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What is the difference between text files and binary files?
Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc
What is structure in c language?
Explain modulus operator.
How do I determine whether a character is numeric, alphabetic, and so on?
Tell us bitwise shift operators?
What is include directive in c?
stripos — Find position of first occurrence of a case- insensitive string int stripos ( char* haystack, char* needle, int offset ) Returns the numeric position of the first occurrence of needle in the haystack string. Note that the needle may be a string of one or more characters. If needle is not found, stripos() will return -1. The function should not make use of any C library function calls.
Is c is a middle level language?
How can I recover the file name given an open stream?
What is a null string in c?
What is return type in c?
Differentiate between static and dynamic modeling.
How do you define structure?