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 6378

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 16117

Post New CTS C++ Code Interview Questions



Un-Answered Questions

how can you do retesting (datadriven test) using notepad amd by using functions NOTE u should not use datatable methods

582


Im a B.Tech fresher, I have very less marks, Im applying for Tech Support job in call center, how to convince interviewer that I will stick to the job, and not leave the company if i get a SW job?

2283


Two liquids hot and cold in two vessels are there and an metal bar acts as a conductor of heat between the two vessels. what happens then. what happens after 24 hrs?

726


How much of the strength of concrete comes from post- production curing?

1597


why the name trunking bus PT

1530






What is planned consumption and unplanned consumption?

443


Hi..I want testing in worker compensation claims.. if anyone have real exp..can you explain it for me.. thanks

740


can we use ZNyn11 transformer instead of Dyn11 transformer in distribution for effectively eliminating harmonics from the industrial loads.

2912


What are the two accounts,automatecly closed?

945


could you please post the Q&A of SAP CRM interview questions and answers on Sales and Service? Pls mail to my email id shilpa428@gmail.com. Shall be grateful for your reply. shilpa

979


what is a depository?

1399


what is the function of bearing in dc mchine" and where it is placed

1237


details of siemens automation systems.

664


For what purpose ERS is used for?

957


i have interview in Pepsi company what type of question will ask please send the question and answeer

2036






CTS C++ Code Interview Questions
  • C (31)
  • STL (1)
  • OOPS (10)
  • C++ General (12)
  • ActiveX (1)
  • Delphi (1)
  • PHP (2)
  • Programming Languages AllOther (15)
  • JavaScript (2)
  • VB Script (2)
  • JSP (1)
  • Shell Script (2)
  • Ruby on Rails (1)
  • AngularJS (2)
  • UDP (1)
  • Networking Administration (2)
  • Networking AllOther (3)
  • Visual Basic (2)
  • C Sharp (8)
  • ASP.NET (22)
  • VB.NET (3)
  • COM+ (1)
  • IIS (1)
  • Crystal Reports (3)
  • BizTalk (1)
  • Dot Net Framework (2)
  • Dot Net General (5)
  • Microsoft Related AllOther (1)
  • Oracle General (11)
  • Architecture (1)
  • Database Management (2)
  • Oracle AllOther (1)
  • SQL Server (14)
  • MySQL (1)
  • DB Architecture (2)
  • DB Administration (6)
  • SQL PLSQL (17)
  • Databases AllOther (3)
  • Windows Threads (1)
  • Windows General (1)
  • Windows AllOther (5)
  • Linux Commands (2)
  • Linux Threads (1)
  • Unix Commands (8)
  • Unix AllOther (1)
  • Solaris Commands (4)
  • Solaris AllOther (2)
  • RTOS AllOther (1)
  • Operating Systems General Concepts (3)
  • Data Structures (2)
  • WinRunner (9)
  • Load Runner (11)
  • QTP (90)
  • Test Director (4)
  • Rational TestSuite (1)
  • Silk Test (2)
  • Automation Testing AllOther (4)
  • Manual Testing (145)
  • QA Concepts (12)
  • Mobile Testing (2)
  • Test Cases (12)
  • Test Documents Reporting (2)
  • Testing AllOther (9)
  • Servers AllOther (1)
  • COBOL (27)
  • JCL (19)
  • CICS (5)
  • DB2 (19)
  • IMS (1)
  • Natural (1)
  • MVS (3)
  • VSAM (6)
  • QSAM (1)
  • IBM MainFrame AllOther (4)
  • RPG400 (27)
  • DB400 (1)
  • IBM AS400 AllOther (17)
  • Core Java (41)
  • Advanced Java (1)
  • EJB (3)
  • Servlets (6)
  • Struts (6)
  • JDBC (7)
  • J2EE (3)
  • Weblogic (8)
  • Java Networking (2)
  • Java J2EE AllOther (5)
  • Java Related AllOther (2)
  • MQSeries (1)
  • Middleware AllOther (1)
  • HTML DHTML (2)
  • Web Related AllOther (5)
  • Teradata (8)
  • Business Objects (13)
  • Cognos (17)
  • Informatica (74)
  • Crystal Enterprise Suite (2)
  • Ab Initio (10)
  • Data Stage (40)
  • SAS (11)
  • Micro Strategy (1)
  • ETL (3)
  • Data Warehouse General (5)
  • HR Questions (21)
  • Design Patterns (1)
  • Project Management (1)
  • Version Control AllOther (2)
  • SAP Basis (8)
  • SAP ABAP (28)
  • SAP SD (14)
  • SAP MM (1)
  • SAP FI CO (24)
  • SAP CRM (1)
  • SAP SRM (4)
  • SAP Business Warehouse (3)
  • SAP Security (7)
  • SAP Business Objects BO BOBJ (2)
  • Siebel (2)
  • Oracle Apps Technical (7)
  • Oracle Apps Financial (1)
  • Cryptography General (1)
  • WebMethods (4)
  • SeeBeyond (17)
  • JCAPS (2)
  • Civil Engineering (1)
  • Mechanical Engineering (1)
  • Electrical Engineering (18)
  • Electronics Communications (22)
  • Aeronautical Engineering (1)
  • Industrial Engineering (1)
  • Engineering AllOther (3)
  • Business Administration (1)
  • Banking Finance (4)
  • Human Resources (1)
  • Business Management AllOther (1)
  • Audit (1)
  • CompanyAffairs CS (1)
  • Taxation (1)
  • Accounting General (5)
  • Accounting AllOther (11)
  • Call Centre AllOther (11)
  • UPSC Political Science (1)
  • RRB (1)
  • BSRB Clerical (1)
  • Group I (4)
  • Group II AllOther (1)
  • APPSC AllOther (2)
  • General Knowledge_Current Affairs (2)
  • Tourism Hotel AllOther (1)
  • Everything Else AllOther (4)
  • English (5)
  • General Aptitude (102)
  • Puzzles (10)
  • Placement Papers (28)
  • CCNA (4)
  • Sun Certifications (3)
  • CISA Certification (1)
  • Oracle Certifications (2)
  • Certifications AllOther (7)
  • H1B Visa (3)
  • L1 Visa (3)
  • USA Dependent Visa H4 Visa (1)
  • Australia Visa (1)
  • C Code (1)
  • C++ Code (2)
  • J2EE Code (1)
  • GATE (1)
  • IIT JEE (1)
  • MAT (1)
  • GMAT (1)
  • C C++ Errors (1)
  • Oracle Errors (4)
  • SQLServer Errors (1)