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 11033

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 24116

Post New CTS C++ Code Interview Questions


CTS C++ Code Interview Questions


Un-Answered Questions

If u need any fake experience certificate in software side, contact me at: vikramyadhav@gmail.com

8450


Is json is a programming language?

1051


Explain me about the most complex scenario you have faced in in sap xi.? can any one give me the answer for this type of questions.

3374


What has the market been doing? Why? What do you think it will do in the coming 12 months?

1117


What versions of clipper does netlib support?

1139


Please send me Informatica 8.1 certification dumps, my mail id mona85gupta@gmail.com

1997


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1204


Which statement is used in a select query for partial matching?

1296


Tell me do you have any professional experience of this field?

1243


what was the VAT rate on inverters(home ups) in karnataka on 2016??

1746


dear sir i need rrb chennai Section engineer S & T for last 2 year question papers. Plz send my email id is gsmaliniraj@yahoo.co.in, malinisankaram@gmail.com

2160


Any body knows why Loadrunner 9.5 is not able to create script with web(click and script) protocol with recording option set to GUI. We have seen for the same scenario Loadrunner 8.1 is able to create script on images,button.list boxes with the same settings for web(click and script) protocol .

3447


How do I add a google account to windows 10?

960


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1898


I want recent question papers. Now am preparing for BPO interview. please send the papers..

3121