-
Flowchart
an electricity board charges the following rates to domestic users to discourage large consumption of energy:
for the first 100 units - 10 paise per unitÂ
 for next 200 units - 20 paisa per unit
 beyond 300 units - 30 paisa per unit . if the total cost is more than 10 OMR then an additional surcharge of 15% is added.draw the flowchart and write the algorithm to calculate the... -
C++ Program to output the sum of positive numbers
WAP to output the sum of positive numbers, sum of negative numbers, sum of even numbers,
sum of odd numbers from a list of numbers entered by the user. The list terminates when the
number entered is zero. -
Use of OOPs in C++
What is the use of object oriented system?
-
Array in Function
Write C++ program tell the user
Press 1 to change Row to Row and change (using Function ) output like that :
1 1 1
2 2 2
3 3 3
and press 2 to change Row to Col and change (using function) output like that :
1 2 3
1 2 3
1 2 3
and press 0 to End the ProgramWhat will be the Output?
What will be the result of the following expressions when A = 6, B = 7 and C = 8?
option 1 = D = A + C % B or
option 2 = D = A + B * 5 - CWhat is RTTI?
Runtime type identification (RTTI) lets you find the dynamic type of an object when you have only a pointer or a reference to the base type. RTTI is the official way in standard C++ to discover the type of an object and to convert the type of a pointer or reference (that is, dynamic typing). The need came from practical experience with C++. RTTI replaces many homegrown versions with a solid, consistent...
Function Pointers
Why function pointers are not dereferanced?
Classes
How many parameters are there in a binary operator implemented as a friend?Choose one answer. a. 2 b. 0 c. 1 d. as many as you need
Function Linkage Mechanism
What is function linkage mechanism? Can inline function be used at run time? Why or why not?
Function pointer
How to assign function pointer to static function?
Ans