Is c or c++ more useful?
No Answer is Posted For this Question
Be the First to Post Answer
Explain working of printf?
Write a C++ Program to Generate Random Numbers between 0 and 100
How would you use the functions sin(), pow(), sqrt()?
What is null and void pointer?
Explain the difference between c++ and java.
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
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.
What is constructor in C++?
How many types of comments are there in c++?
What sorting algorithm does c++ use?
What is the limitation of cin while taking input for character array?
Design a program to input a date from user in the form day/month/year (e.g. 2/6/2000) and report whether it’s a valid date or not. The program should take account of leap years. You will need to know that a leap year is a year that is exactly divisible by 4, except that century years are only leap years if they are divisible by 400.