ALLInterview.com :: Home Page
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   Errors
   Testimonials Refer this Site  Refer This Site to Your Friends  Site Map  Contact Us      
   
 
 Categories >> Software >> Programming Languages >> C++
 
  STL (97)   OOPS (572)   C++ General (471)
 
Suggest New Category 
 


 

Question Asked @ Answers Views     Select
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.    1  7440
char* ptr = "Rahul"; *ptr++; printf("%s",ptr); What will be the output persistent   9  5708
How to use CMutex, CSemaphore in VC++ MFC persistent   0  2000
What is design patterns in C++? persistent   2  8413
if there is binary tree which one is the easiest way to delete all child node? persistent   1  3305
They will ask u question about single linked list?. Write Code for to insert delete node. persistent   2  2541
How much is size of struct having 1 char & 1 integer? persistent   11  5692
Generally variables are stored in heap memory. When he variables are created in stack? persistent   4  3386
Ask to write virtual base class code? satyam   0  912
What is size of Empty Class? persistent   3  3484
If there are 1 to 100 Numbers in array of 101 elements. Which is the easy way to find repeated number? persistent   2  4085
Copy Linked List using recursive function? persistent   2  3692
which is the easy way to divide any integer by 2? persistent   2  2630
write a short note on Overloading of Binary Operator?    2  5355
what is polymorphism?    4  2342
E-Mail New Answers        Answer Selected Questions       
Prev    1   ... 7   ... 13   ... 19   ... 25    30   [31]    32  ... 37   ... 43   ... 49   ... 55   ... 61   ... 67   ... 73    Next
 
 
 
 
 
Un-Answered Questions
 
 Question Views   Select
 
class base { public: int fun(int) {} }; class base2 { public: int fun(float) { } }; so here qustion is both function either function overloading or over riding; 1579
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION? 295
I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace... 382
how to making game in c++ ? 705
A prime number is a number which is divisible only by itself and 1. Examples of the first few primes are 2, 3, 5, 7, 11. Consider writing a program which can generate prime numbers for you. Your program should read in and set a maximum prime to generate and a minimum number to start with when looking for primes. This program should be able to perform the following tasks: 1. Read the maximum number from user (keyboard input) to look for primes. The program should not return any primes greater than this number. 2. Read the minimum number from user (keyboard input) to look for primes. The program should not return any primes less than this number. 3. Generate and print out every prime number between the maximum prime and minimum number specified by the user. 447
how to use C++? 724
#include <string.h> #include <stdio.h> #include <stdlib.h> #include <conio.h> void select(char *items, int count); int main(void) { char s[255]; printf("Enter a string:"); gets(s); select(s, strlen(s)); printf("The sorted string is: %s.\n", s); getch(); return 0; } void select(char *items, int count) { register int a, b, c; int exchange; char t; for(a = 0; a < count-1; ++a) { exchange = 0; c = a; t = items[ a ]; for(b = a + 1; b < count; ++b) { if(items[ b ] < t) { c = b; t = items[ b ]; exchange = 1; } } if(exchange) { items[ c ] = items[ a ]; items[ a ] = t; } } } design an algorithm for Selection Sort 549
what is difference between class template and template class? 791
write a program that withdrawals,deposits,balance check,shows mini statement. (using functions,pointers and arrays) 657
• What are the desirable attributes for memory managment? 392
Write a program using GUI concept for the scheduling algorithms in Operating system like SJF,FCFS etc.. 1598
Arrange Doubly linked list in the ascending order of its integral value and replace integer 5 with 7? 2229
Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!) 548
What is the renewal class? 889
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. 896
E-Mail New Answers        Answer Selected Questions