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

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 10737

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 23606

Post New CTS C++ Code Interview Questions


CTS C++ Code Interview Questions


Un-Answered Questions

Will android apps work on windows 10?

846


exactly how does an RTD 3 wire or 4 wire device cancel out the resistance of the wires , opposed to a 2 wire RTD? Is it because you have resistors in parallel , or because something to do with the electronic circuit the RTD is connected to ?

2353


Explain in steps what happens when an interrupt occurs?

1041


Mention what are the different gates where Boolean logic are applicable?

1134


Are there interfaces in c++?

1026


Which built-in method removes the last element from an array and returns that element?

929


What is a data source or ds? : sql server analysis services, ssas

1009


Which client would you advise to use radius targeting?

274


Capital secure should be shown in which side of the balance sheet?

2368


Compare cron and anacron in linux with an example?

834


Is it possible to have a function as a parameter in another function?

1085


What are application partitions? When do we use them?

828


How do you show a powerpoint?

318


Why choose a Public sector undertaking (PSU) over a private firm? Aren't they more competitive than us?

1416


What is a modal plugin in bootstrap?

3