Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...



C++ Interview Questions
Questions Answers Views Company eMail

write a progra in c++ using class & object to find out wheather a given no. is prim or not.

2 20916

why & sign is used in copy constructor

4 8260

what is scupper?

2396

What are the popular tools used to detect memory leaks in c++

TATA,

4 7572

What is the difference between pass by value,pass by pointer,pass by reference in the catch block in the exception handling in c++

TCS,

1 4578

create a c++ program that will ask 10 numbers and display their sum using array.

1 4564

create a c++ program that will accepts 9 inputs using 3 by 3 array.

1 3293

This program numbers the lines found in a text file. Write a program that reads text from a file and outputs each line preceded by a line number. Print the line number right-adjusted in a field of 3 spaces. Follow the line number with a colon, then one space, then the text of the line. You should get a character at a time and write code to ignore leading blanks on each line. You may assume that the lines are short enough to fit within a line on the screen. Otherwise, allow default printer or screen output behavior if the line is too long (i.e., wrap or truncate). A somewhat harder version determines the number of spaces needed in the field for the line numbers by counting lines before processing the lines of the file. This version of the program should insert a new line after the last complete word that will fit within a 72-character line.

2126

Write a program to compute for numeric grades for a course. The course records are in a file that will serve as the input file. The input file is in exactly the following format: Each line contains a student's first name, then one space, then ten quiz scores all on one line. The quiz scores are in whole number and are separated by one space. Your program will take it input from this file and sends it output to a second file. The data in the output file will be exactly the same as the data in the input file except that there will be one additional number (of type double) at the end of each line. This number will be the average of the student's ten quiz scores. Use at least one function that has file streams as all or some of its arguments.

3084

namespace is working on which compiler?

3 5027

What is virtual Function.

Wipro,

1 4195

what is data hiding.

Wipro,

3 7081

What is memory leak and memory corruption?

TCS,

1 8094

What is sub classing in c++?

1 3992

difference between static and non-static variables?

2 4974


Un-Answered Questions { C++ }

What are special characters c++?

1031


What is the precedence when there is a global variable and a local variable in the program with the same name?

1131


Is c++ an oop?

1102


what is Member Functions in Classes?

1202


How a new element can be added or pushed in a stack?

1020


Explain the scope of resolution operator.

1113


Why do pointers exist?

1099


Are strings immutable in c++?

1160


How do you define/declare constants in c++?

1054


what is graphics

2464


Write syntax to define friend functions in C++.

1079


How do you master coding?

1038


Without using third variable write a code to swap two numbers.

1079


How to allocate memory dynamically for a reference?

1049


Question: Write a program that prints a paycheck. Ask the program user for the name of the employee, the hourly rate, and the number of hours worked. If the number of hours exceeds 40, the employee is paid “time and a half”, that is, 150 percent of the hourly rate on the hours exceeding 40. Be sure to use stepwi se refine ment and break your solution into several functions. Use the int_name function to print the dollar amount of the check.

1244