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 10735

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 23604

Post New CTS C++ Code Interview Questions


CTS C++ Code Interview Questions


Un-Answered Questions

What is a difference between indoor transformer and outdoor transformer of same rating

5829


What is a proxy in web service?

1077


what are the difference between AC lamp and DC lamp

2096


What are the advantages of sap xi over other tools?

5


Daily announced price of Gold. this price is included vat ya without vat. pls give me solution.

1645


Explain python list comprehension?

866


What is the file extension for java?

1080


What are the components of an effective merit pay plan?

2787


I want to know about rolling margin of steel :- For eg. If 2nos. bundle of 8mm dia steel with17 rods each of length 12m comes to store. During testing of 1m rod of each bundle it was found that 1rod has weight .405kg/m while other has .385kg/m. Now what will happen in case of steel payment and measurement payment ? Regards,

2505


If a developer creates a new css file then where should the file be stored?

792


What is the advantage of bw reporting on co-pa data compared with directly running the queries on co-pa?

86


Is c compiled or interpreted?

1200


Name the chemical compound which is a surface disinfectant acceptable for use on treatment areas after therapy on a suspected hepatitis B carrier?

2310


What are ways to create input forms for workflow ?

801


What is the use of recover stage in blue prism?

374