Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

IBM C++ Code Interview Questions
Questions Answers Views Company eMail

What is the time complexity T(n) of the following program? a) int n, d, i, j; cin >> n; for (d=1; d<=n; d++) for (i=1; i<=d; i++) for (j=1; j<=n; j += n/10) cout << d << " " << i << " " << j << endl; b) void main() { int n, s, t; cin >> n; for (s = 1; s <= n/4; s++) {t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } } c) void main() { int n, r, s, t; cin >> n; for (r = 2; r <= n; r = r * 2) for (s = 1; s <= n/4; s++) { t = s; while (t >= 1) { cout << s << " " << t << endl; t--; } } }

3 11016

write a c program, using for loop, that accepts and odds two numbers. The output must be the sum and the addens. This should be repeated 5 times while the first number is decremented by one and the second number is incremented by 1.

2 9647

1.program to add any two objects using operator overloading 2.program to add any two objects using constructors 3.program to add any two objects using binary operator 4.program to add any two objects using unary operator

2 24734

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.

5 17439

. Write a program using two-dimensional arrays that computes the sum of data in tows and the sum of data in columns of the 3x3 (three by three) array variable n[3][3].

2 18399

write a program to sort 'n' elemnts using bubble sort

1 8742

Write code for the multiplication of COMPLEX numbers?

3908

Post New IBM C++ Code Interview Questions


IBM C++ Code Interview Questions


Un-Answered Questions

What is the full form of cable type-ayry

1608


Hi i am riyaz ahmed . i got rejected for first time and i nedd to apply for next time and can i apply in 1 or 2 week . and wt abt my sevies fee ? i should make a new once shill i go with the same and wt docement i should change can u plz help me out and my mail it is royalriyaz@gmail.com

2730


hi sir plz send me clerical exams model test papers for the preperation of indian bank exam am very thankful to you

2044


How much does it cost for a copy of windows 10?

906


hi plz send me reliance placement papers..i.e electrical technical papers that have been asked in reliance test.

3052


Hi,friends i am going to write ICST certificate exam on augest.So can anybody post some of sample qusetions for ICST certificate exam.Really it will be useful for me

2174


hi friends I want to know the details of Group 1 or Group II Exams, from where i will get the applicaions, study material, exams date. wat is the date of subscription for the applications? wat should be the Qualification for these entrance test. I Would be gladfull if any one can suggest me with the answers. Thank you!

2292


sir, plz send me the question regarding DMS gr1 questions of previous year as my exam is on 27/09/08...thanking u in advance...

2324


I am manjunath having exp in maintenance of chemical plants,know i want to do a design course INTOOLS,after doing design course can we get jobs in design field.sinve i dont have design exp..

1849


Write a VLSI program that implements a toll booth controller?

4096


what is the principle of UV Vis spectroscopy, AAS, ICP OES,ICPAES, ICP-MS and FTIR

9377


sir can u plz send me Jindal Steel's mechanical engg. paper and the aptitude paper of previous year....i wud be very thankful to u.... my email id..- suraj.candid@gmail.com

2197


Can you describe the importance of model interpretability in Explainable AI?

195


can any one know about NIC (National Informatics Centre) questions Patterns and full detail about written exam, and interview send to softshikha2005@yahoo.com.in Thank you

2196


Why and when do stored procedure recompile?

1097