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

What are the general description for loop statement and available loop types in c?

689


Why c is called procedure oriented language?

582


How can a number be converted to a string?

611


Does c have function or method?

596


1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. The Logic should be written in Data Structures?

1921






How can I sort a linked list?

638


Explain can the sizeof operator be used to tell the size of an array passed to a function?

599


Is swift based on c?

642


In a switch statement, what will happen if a break statement is omitted?

605


the question is that what you have been doing all these periods (one year gap)

1622


How is a pointer variable declared?

596


Stimulate calculator using Switch-case-default statement for two numbers

2451


What does stand for?

601


What is wild pointer in c with example?

580


In C programming, how do you insert quote characters (‘ and “) into the output screen?

898