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




CTS 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 6890

Find the maximum product of three numbers in an array? Eg. 9,5,1,2,3 Max product= 9*5*3= 135 The array can hav negative numbers also..

7 18112

Post New CTS C++ Code Interview Questions




CTS C++ Code Interview Questions





Un-Answered Questions

how to I collect a single log statement as alert as a mail when the object on which log target is enables goes down or comes up?

15


Explain how you estimate your project / task end dates and then monitor them to ensure that dead lines are met ?

978


What are the steps that are required to handle the multi-threading?

1


Differentiate between generics in and out in Kotlin?

3


what are the advantages of crm ?

38






What does a microprocessor mean?

4


source code for how to login a vb.net application ?

23


Why did you choose this career?

973


What is therapeutic cloning?

4


How do you rate yourself in c#,vb.net,Asp.net,oracle,sql server ?

4196


How to implement a fourth order butter worth lp filter at 1 khz if sampling freuency is 8 khz?

5


We have received supplies of the ordered material. payments against the supplies also released. Where ST paid 4% against form C. Meanwhile it has been observed that 25% of material supplied was defective. Please suggest whether the issuance of C form from our side would be stopped till settlement of liabilities.

842


Explain .NET architecture?

22


What is an abstract class in ooabap ?

1


How does the interrupts handle by using the threads?

1