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

  • Infosys aptitute test questions (176)
  • Infosys interview questions (1763)
  • Infosys placement papers (58)
  • Infosys technical test questions (120)



Infosys 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 6723

Min-Max Write an algorithm that finds both the smallest and largest numbers in a list of n numbers and calculate its complexity T(n).

1 4911

write a c program, using for loop, that accepts and odds two numbers. The output must be the sum and the addens. This should be repeated 5 times while the first number is decremented by one and the second number is incremented by 1.

2 6498

Write a program that takes a 3 digit number n and finds out whether the number 2^n + 1 is prime, or if it is not prime find out its factors.

4 11950

Post New Infosys C++ Code Interview Questions



Un-Answered Questions

what do u mean by implementation?

1034


working principles of cf lamp,incandescentlamp and f lamp?

1118


can we get all interview questions with answers in tally 9 which mostly asked in MNC's.

1176


Explain about failure options in TD

1122


Could someone please send me real check list for Database Security testing.Please my mail ID- patil.ramchandra@yahoo.co.in. Thanks.

1063






What u mean by infrgistics control (What is infrgistics Controls)?

985


what is pre settlements and post settlements in Derivatives?

856


can any one explain bar bending schedule of bems and columns and slabs ??

623


what is song in infrmatica...?

987


am commissioning the trafo without connecting the neutral therefore unbalance will occur what is the alternative solution for this?

706


Questions asked for the post of Manager (Finance) in a Public Sector company Subject of group discussions for the post of Manager (Finance) in a Public Sector company

1015


who is the judge in case of the auditor has raised an NCR against an auditee? who should decide weather this NCR is acceptable and the auditee has to accept?

731


What is statment?

985


How does a flocking-based steering system work? What are the components of a flocking-based steering system, and how are they combined? When does flocking-based steering break down or produce undesirable results? Are there any performance implications of the standard flocking model as described by Craig Reynolds, and if so, what are some ways to address them?

575


1:4:8 pcc calculation 591 cu.ft

1084






Infosys C++ Code Interview Questions
  • Software (1)
  • C (95)
  • STL (3)
  • OOPS (27)
  • C++ General (22)
  • MFC (3)
  • VC++ AllOther (2)
  • Delphi (4)
  • Python (2)
  • PHP (10)
  • Programming Languages AllOther (12)
  • ASP (2)
  • JavaScript (8)
  • VB Script (2)
  • JSP (1)
  • Shell Script (2)
  • AJAX (1)
  • SNMP (1)
  • SS7 (1)
  • Networking Administration (9)
  • Networking Security (2)
  • Networking AllOther (3)
  • Visual Basic (11)
  • C Sharp (6)
  • ASP.NET (33)
  • VB.NET (7)
  • ADO.NET (6)
  • IIS (3)
  • Dot Net Framework (6)
  • Dot Net General (5)
  • Dot Net AllOther (3)
  • SharePoint (1)
  • Microsoft Related AllOther (1)
  • Oracle General (14)
  • OCI (1)
  • Database Management (3)
  • Forms Reports (1)
  • Oracle AllOther (3)
  • SQL Server (19)
  • MySQL (3)
  • DB Architecture (1)
  • DB Administration (1)
  • DB Development (1)
  • SQL PLSQL (19)
  • Databases AllOther (4)
  • SDK (1)
  • Windows General (1)
  • Windows AllOther (5)
  • Linux Commands (2)
  • Linux IPC (1)
  • Linux Socket Programming (1)
  • Linux System Calls (1)
  • Unix Commands (27)
  • Unix IPC (2)
  • Unix General (1)
  • Unix AllOther (3)
  • Solaris Commands (2)
  • Solaris General (1)
  • Solaris AllOther (2)
  • RTOS AllOther (1)
  • Operating Systems General Concepts (7)
  • Data Structures (5)
  • Operating Systems AllOther (1)
  • WinRunner (5)
  • Load Runner (6)
  • QTP (44)
  • Test Director (3)
  • Rational TestSuite (1)
  • Silk Test (1)
  • Selenium (1)
  • Automation Testing AllOther (3)
  • Manual Testing (93)
  • QA Concepts (11)
  • Mobile Testing (2)
  • Test Cases (10)
  • Test Documents Reporting (2)
  • Testing AllOther (11)
  • Servers AllOther (1)
  • COBOL (9)
  • JCL (10)
  • CICS (1)
  • DB2 (9)
  • Assembler (1)
  • VSAM (5)
  • IBM MainFrame AllOther (1)
  • DB400 (1)
  • COOLPLEX (1)
  • Core Java (54)
  • Advanced Java (6)
  • Swing (1)
  • EJB (2)
  • Servlets (5)
  • Struts (7)
  • JDBC (5)
  • JMS (1)
  • J2EE (3)
  • Weblogic (3)
  • Websphere (1)
  • Java J2EE AllOther (2)
  • Java Related AllOther (2)
  • HTML DHTML (1)
  • Teradata (7)
  • Business Objects (14)
  • Cognos (10)
  • Informatica (14)
  • Crystal Enterprise Suite (1)
  • Ab Initio (2)
  • Data Stage (8)
  • SAS (2)
  • Micro Strategy (3)
  • ETL (7)
  • Data Warehouse General (1)
  • HR Questions (16)
  • Design Patterns (6)
  • UML (3)
  • OOAD (2)
  • Project Planning (9)
  • Technical Writer (1)
  • Software Design AllOther (1)
  • GDB (1)
  • Debugging AllOther (3)
  • Telecom Routers Switches (1)
  • VoIP IP Telephony (1)
  • BlueTooth (1)
  • Telecom General (2)
  • SAP Basis (19)
  • SAP ABAP (122)
  • SAPScript (1)
  • SAP SD (29)
  • SAP MM (11)
  • SAP QM (1)
  • SAP PP (1)
  • SAP PS (1)
  • SAP FI CO (48)
  • SAP HR (6)
  • SAP CRM (52)
  • SAP Business Warehouse (6)
  • SAP Security (8)
  • SAP B1 (1)
  • SAP Business Objects BO BOBJ (2)
  • PeopleSoft Financials (4)
  • PeopleSoft Tools (1)
  • Oracle Apps Technical (9)
  • Oracle Apps Financial (7)
  • Oracle Apps SCM (2)
  • Oracle Install Base (1)
  • ERP CRM AllOther (1)
  • 86 Family (2)
  • VLSI (3)
  • Client Server Architecture (1)
  • Client Server General (2)
  • AI General (2)
  • AI AllOther (1)
  • TIBCO (1)
  • JCAPS (1)
  • Image Processing Algorithms (2)
  • Micro Biology (1)
  • Bio Informatics (2)
  • Botany (1)
  • General Physics (2)
  • Geo Physics (1)
  • Organic Chemistry (1)
  • Inorganic Chemistry (2)
  • General Chemistry (1)
  • Mathematics (1)
  • General Science (2)
  • Sciences AllOther (1)
  • Civil Engineering (13)
  • Mechanical Engineering (14)
  • Electrical Engineering (40)
  • Electronics Communications (61)
  • Instrumentation (3)
  • Automobile Engineering (1)
  • Engineering AllOther (24)
  • Business Administration (7)
  • Marketing Sales (10)
  • Banking Finance (24)
  • Human Resources (20)
  • Infrastructure Management (1)
  • Non Technical (3)
  • Business Management AllOther (4)
  • Audit (5)
  • CompanyAffairs CS (3)
  • Taxation (14)
  • Accounting General (35)
  • Accounting AllOther (37)
  • Call Centre AllOther (108)
  • Designing (1)
  • UPSC Political Science (1)
  • UPSC History (1)
  • UPSC General Studies (3)
  • SSC Political Science (3)
  • SSC General Studies (1)
  • SSC AllOther (1)
  • RRB (2)
  • CDS (3)
  • NDA (3)
  • BSRB Clerical (3)
  • Group I (4)
  • Group II History (2)
  • Group II AllOther (1)
  • Group II Political Science (1)
  • APPSC AllOther (8)
  • General Knowledge_Current Affairs (42)
  • Government AllOther (6)
  • Law AllOther (3)
  • Chefs (1)
  • Tourism Hotel AllOther (1)
  • Teaching (1)
  • Funny Interview Questions (8)
  • Everything Else AllOther (13)
  • English (18)
  • General Aptitude (118)
  • Puzzles (49)
  • Placement Papers (58)
  • CCNA (16)
  • Microsoft Certifications (3)
  • Sun Certifications (3)
  • Oracle Certifications (3)
  • ISTQB Certification (1)
  • Certifications AllOther (1)
  • H1B Visa (5)
  • USA Student Visa F1 Visa (3)
  • L1 Visa (9)
  • USA Business Visa B1 Visa (4)
  • USA Dependent Visa H4 Visa (3)
  • UK Visa (3)
  • C Code (12)
  • C++ Code (4)
  • MFC Code (1)
  • J2SE Code (2)
  • ASP.NET Code (1)
  • C Sharp Code (3)
  • Visual Basic Code (1)
  • JavaScript Code (4)
  • VB Script Code (1)
  • Scripts_Markup Code AllOther (1)
  • GATE (5)
  • IIT JEE (1)
  • CAT (2)
  • ICET (5)
  • C C++ Errors (1)
  • DotNet Errors (1)
  • SQLServer Errors (1)
  • Scripts Errors (1)