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


Please Help Members By Posting Answers For Below Questions

How can I discover how many arguments a function was actually called with?

624


1) write a program to generate 1st n fibonacci prime numbers using Nested if 2) write a program to generate twin prime numbers from m to n using nested if 3) write a program to check whether a given integer is a strong number or not using nested if 4) Write a program to generate prime factors of a given integer using nested if 5)write a program to generate prime numbers from m to n using nested if 6)write a program to generate perfect numbers from m to n using nested if 7)write a program to generate the pallindromes from m to n using neste if 8)write a program to generate armstrong numbers from m to n using nested if 9)write a program to generate strong numbers from m to n using nested if

3973


Write the test cases for checking a variable having value in range -10.0 to +10.0?

1810


Explain what is wrong with this program statement? Void = 10;

754


Is c weakly typed?

562






how can use subset in c program and give more example

1489


What is difference between static and global variable in c?

527


What is c token?

597


Explain what is the advantage of a random access file?

650


What is a protocol in c?

552


can we implement multi-threads in c.

653


In c programming write a program that will print 10 multiples of 3 except 15,18,21 using looping

970


Write a program to find the biggest number of three numbers in c?

582


Can you please compare array with pointer?

605


How can I send mail from within a c program?

573