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 10731

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 23593

Post New CTS C++ Code Interview Questions


CTS C++ Code Interview Questions


Un-Answered Questions

can a network interface in one vpc be attached to an instance that is present in another vpc?

179


Which routing rules has to be defined in sap hana studio to configure web dispatcher to use https request?

131


What does FOREACH do?

577


Can you select direct fi posting for a depreciation run? : fi- asset accounting

1092


What is the purpose of @key?

1055


If I purchase flex builder 2, am I eligible for an upgrade to flex builder 3?

5


I have 3 transactions,where the output of one transaction is input of another and output of 2nd transaction is input of 3rd transaction.i have one flat file with all data for the 3 transaction.if the 3rd transaction failed can we rollback the remaining 2 transactions or not.Is this possible in BDC,How/

2318


Are structs value types or reference types?

1067


What is apache http server?

948


Is c++ a software?

1200


All of the following are true regarding the WBS except: A. It is a deliverables-oriented grouping of project deliverables and elements. B. It defines and organizes the work of the project in a hierarchical form. C. It provides a framework for the work of the project, and work not shown on the WBS is not included in the project. D. It defines all the deliverables of the project, but the activities level should not be listed on the WBS.

1333


I have developed and executed a script successfully, and saved the same to QC. When I tried to execute the script from QC, the script is not executing. What are the possible reasons?”

1176


What is MRP procedure

2712


How many codes are used when u design a Pressure Vessel

1802


How do I create a web form?

1047