What is the output of printf("%d")?
Answer Posted / creed
When insufficent argumrnts r give 2 c compiler it give
arbitrary answers
in turbo c it gives o/p =0
in other compiler it trys 2 read values from last stack top
i.e garbage
some compiler can may even crash
| Is This Answer Correct ? | 3 Yes | 7 No |
Post New Answer View All Answers
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
Should the this pointer can be used in the constructor?
Explain storage qualifiers in c++.
Can I make ios apps with c++?
What does the ios::ate argument do?
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.
List the features of oops in c++?
Write about c++ storage classes?
Why is c++ a mid-level programming language?
Write a program to find the Fibonacci series recursively.
What problems might the following macro bring to the application?
Define a conversion constructor?
Can we overload operator in c++?
What is the difference between strcpy() and strncpy()?
How do you declare a set in c++?