what is the difference between %d and %*d in c languaga?

Answer Posted / anand

both are same only and give the same out put

Is This Answer Correct ?    4 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the different types of data structures in c?

588


Write a client and server program in C language using UDP, where client program interact with the Server as given below: i) The client begins by sending a request to send a string of 8 characters or series of 7 numbers, the server sends back a characters or numbers as per the request of the client. ii) In case of series of 7 numbers: The client sends a multiplication of numbers, to the server. iii) In case of a string of 8 characters: The client sends a reverse order of string to the server.. iv) Server will send an acknowledgment to the client after receiving the correct answer

3828


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2324


How can I copy just a portion of a string?

807


What is array within structure?

574






What is int main () in c?

613


Describe the header file and its usage in c programming?

609


Explain modulus operator.

585


the real constant in c can be expressed in which of the following forms a) fractional form only b) exponential form only c) ascii form only d) both a and b

1893


Which is better pointer or array?

587


what is ur strangth & weekness

1805


How to delete a node from linked list w/o using collectons?

2081


what are the 10 different models of writing an addition program in C language?

1426


Explain what is a 'locale'?

574


What is the difference between char array and char pointer?

519