Can I have a reference as a data member of a class? If yes, then how do I initialise it?
No Answer is Posted For this Question
Be the First to Post Answer
Given the following seqment of code containing a group of nested if instructions: y = 9; if ((x==3) || (x == 5)) y++; else if (x == 2) y *= 2; else if (x == 4 ) y-= 7; else y = 8; Enter a segment of code (without any IF statements) that does exectly the same thing using the switch structure.
Write a C++ Program to Generate Random Numbers between 0 and 100
What is the full name of logo?
Write a C program to calculate the salary of each employee in your company. You need to input the hours worked and the hourly rate. The company pays 1.5 times the hourly rate for all hours worked in excess of 48 hours. Use the formulas below to calculate the salary: if employee worked less than 48 hours salary = hours * rate; if employee worked more than 48 hours salary = 48.0 * rate + ( hours − 48.0 ) * rate * 1.5; You are required to use a loop to produce the sample output as given below.
Describe functional overloading?
Can I run c program in turbo c++?
Can we change the basic meaning of an operator in c++?
Explain the virtual inheritance in c++.
What is a literal in c++?
Write a C++ Program to check whether a number is prime number or not?
What is the function to call to turn an ascii string into a long?
Evaluate !(1&&1||1&&0) a) Error b) False c) True