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 6882

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 6626

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 19877

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.

4 12115

. 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 14869





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

1 6711

Write code for the multiplication of COMPLEX numbers?

2711

Post New IBM C++ Code Interview Questions




IBM C++ Code Interview Questions





Un-Answered Questions

What is the release payroll function? : hr- payroll

9


What is group by?

1


Explain the menu system in drupal?

1


Where you get the run time data table?

10


What Could You Do To Stop The Pivot Table From Losing The Column Width Upon Refreshing?

1






I m Abdullah Ansari compleated MCA from Jamia Hamdard,i have appeared the test of IBM on 2 august at oxford college of engineering Bangalore.waiting for hr round.. This is the first round for IBM.02/08/08 Paper consists of 4 sections 15 questions from matrices(time very less but no negative marking). 25 questions from series completion section (this section is very easy but negative marking) 15 questions from aptitude(little bit tough time limit 15 minute negative marking) 4th section is from computer science (c,c++,operating system,digital electronics ,basic question..) result came at 3 o'clock.i was selected... In interview they asked questions like 1 they asked about final yr project.. 2 what are dynamic and static memory location? 3 linked list and array difference between them. 4 what is function ? what is difference betwen function and inline function? 5 about structure 6 about binary tree, traversal, call by value. 7 storage class and many more basic questions..

2204


What are node.js unit testing frameworks?

3


How do you create MQ in PRPC?

7


What is lifting power for 1 wb/m2 and 1 A magnet?

1048


what the Microsoft .NET framework is?

815


Explain git commands?

1


What is the time distribution option in update rule? : bw on hana

3


how to download mercury qtp9.2 ny internet ?

2320


In credit management if horizon period exceeded the warning message will not shown during sales order...how?

977


HOW WILL YOU CONTRIBUTE TO THE GROWTH OF MIDDLETON OIL AND GAS LTD?

1967