What is the output of printf("%d")?

Answer Posted / vijay

it will print the recently assigned integer value.....

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various compound assignment operators in c++?

716


What is the use of namespace std in C++?

816


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

828


What are the advantages of pointers?

802


A company pays its salespeople on a commission basis. The salespeople receive $200 per week plus 9 percent of their gross sales for that week. For example, a saleperson who sells $5000 worth of merchandise in a week receives $200 plus 9 percent of $5000, or a total of $650. You have been supplied with a list of items sold by each salesperson. The values of these items are as follows: Item Value A 239.99 B 129.75 C 99.95 D 350.89 Write a program that inputs one salesperson's items sold in a week (how many of item A? of item B? etc.) and calculates and displays that salesperson's earnings for that week.

3628


What is the use of "new" operator?

878


Write about the members that a derived class can add?

759


Define a conversion constructor?

806


What are friend classes? What are advantages of using friend classes?

842


What is isdigit c++?

834


Keyword mean in declaration?

789


What are vtable and vptr?

863


What are the advantages of c++ over c?

810


total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.

2287


Are c and c++ different?

726