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++ Code Interview Questions
Questions Answers Views Company eMail

write a program that can LOCATE and INSERT elements in array using c++ programming languages.

4044

write a program that can locate elements in array.

1 5839

can you please write a program for deadlock that can detect deadlock and to prevent deadlock.

3240

what is the diffrence between ++x , x++ pleaaaaase ???

7 16691

find level of following tree (state, parent) " J,D I,D H,C E,B F,B G,C B,A D,A C,A A,& K,E L,E L,F M,F N,G O,H P,I P,H Q,I R,J S,K U,P T,L

2469

Here's the programm code: int magic(int a, int b) { return b == 0 ? a : magic(b, a % b); } int main() { int a, b; scanf("%d%d", &a, &b); printf("%d\n", magic(a, b)); return 0; } on input stream we have integers 4, 45 What's the output integer? How many times will be initiated "magic" function?

1 4103

1. Write a program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine which number (or numbers) is missing or duplicated in the series, if any. For example, if the user entered 5 as the initial number and then entered the following sequences, the results should be as shown. Input Sequence Output ---------------------- --------------- 1 2 3 4 5 Nothing bad However, if 7 were the high number, the user would see the results on the right for the following number entries: Input Sequence Output ---------------------- --------------- 1 3 2 4 5 Missing 6 Missing 7 And if 10 were the high number and the user entered the numbers shown on the left, note the list of missing and duplicate numbers: Input Sequence Output ---------------------- --------------- 1 2 4 7 4 4 5 10 8 2 6 Duplicate 2 ( 2 times) Missing 3 Duplicate 4 ( 3 times ) Missing 9

1 13144

Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.

ADP, Amazon, HCL, IBM, Infosys, Satyam, TCS, Vimukti Technologies,

5 17090

Write an algorithm that receives a string and reverses it.

2 5850

What will be the output- for(i=1;i<=3;i++) { printf("%d",i); continue; i++; }

Impetus,

5 20662

write a program that accepts a number and outputs its equivalent in words. take note that the maximum input is 3000

Alvin,

1 16757

swap prog

TCS,

3 6480

Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.

TCS, Vimukti Technologies, Wipro,

3 10447

write a function -oriented program that generates the Fibonacci, the current numbers of n(as input) and display them (series). In Fibonacci, the current third number is the sum of the previous number.

3 9536

write a function – oriented program that calculates the sum of the squares from 1 to n. thus, if the input is 3, the output is 14

3 14871


Post New C++ Code Questions

Un-Answered Questions { C++ Code }

Question 1: Implement a base class Appointment and derived classes Onetime, Daily, Weekly, and Monthly. An appointment has a description (for example, “see the dentist”) and a date and time. Write a virtual function occurs_on(int year, int month, int day) that checks whether the appointment occurs on that date. For example, for a monthly appointment, you must check whether the day of the month matches. Then fill a vector of Appointment* with a mixture of appointments. Have the user enter a date and print out all appointments that happen on that date. *This Should Be Done IN C++

1188


write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation

2899


can you please write a program for deadlock that can detect deadlock and to prevent deadlock.

3240


how to write a program that opens a file and display in reverse order?

3074


i don't know about working of nested for loop can any one help me

2298


write a program using virtual function to find the transposing of a square matrix?

3383


Teta-Omeg-Big-Oh Show that f(n) = n2 + 3n3 is ;(n3).

3637


3. Program to find the Sum of give series. a. (1)+(1+2)+(1+2+3)+(1+2+3+4)+……………………………….. b. 1/1+1/9+1/25+1/49+……………...

4954


Write a simple encryption program using string function which apply the substitution method.

6135


A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect

2891


develop a program to calculate and print body mass index for 200 employees

2667


Code for Method of Handling Factorials of Any Size?

2491


write a program that reverses the input number of n.Formulate an equation to come up with the answer.

7695


write a program that prompt the user to enter his height and weight,then calculate the body mass index and show the algorithm used

4867


write a program that reads a series of strings and prints only those strings begging with letter "b"

3130