Is there something that we can do in C and not in C++?
Answer Posted / zarra
C++ will not allow declaration without initialization but C
will allow declaration without initialization.
And C++ and C both will not allow later initialization.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What are formatting flags in ios class?
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.
How can you quickly find the number of elements stored in a a) static array b) dynamic array ? Why is it difficult to store linked list in an array?how can you find the nodes with repetetive data in a linked list?
What is singleton class in c++?
What is meant by the term name mangling in c++?
What is a virtual destructor? Explain the use of it?
Is java a c++?
What is a storage class? Mention the storage classes in c++.
How do I write a c++ program?
What do you mean by ‘void’ return type?
Describe the syntax of single inheritance in C++?
Differentiate between the message and method in c++?
How long does it take to get good at leetcode?
What is meant by a delegate?
What is the difference between an array and a list?