C++ Interview Questions
Questions Answers Views Company eMail

can you explain how to use JavaBean in Project

Infosys, Satyam,

3 5241

write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.

Microsoft, TCS,

1784

write a code for this:trailer recordId contains a value other than 99, then the file must error with the reason ‘Invalid RECORD_ID’(User Defined Exception).

1647

Brief explaination about #include, cin and cout

3 9044

what is use of for loop?

Wipro,

9 8472

how to swap two numbers in a linked list without exchanging the data but only the links?

Wipro,

3 8358

write the prime no program in c++?

16 36617

write program for palindrome

Amazon, Aricent, CSC, GE, HCL, Infosys, Syntel, Temenos, Wipro,

81 195990

Write the program for fibonacci in c++?

TATA, Wipro,

20 39280

sir i want to know which posting to apply since i am BE CSE.. also want to know what are the rounds there for my interview...Expecting for ur valuable answer....

2 3396

what is virtual destructor

L&T, TCS,

7 10646

Write the program form Armstrong no in c++?

HCL,

11 27462

What is the Difference between CArray and CList?

ProdEx Technologies, Siemens,

1 8961

What is the underlying datastructure of map?

BIA, Siemens,

5 13761

how many rounds and wt type of questios ask in the written test for first round 2. tech. round 3. and futher rounds

Thought Works,

2022


Un-Answered Questions { C++ }

Why is null pointer used?

690


Differentiate between structure and class in c++.

604


What do nonglobal variables default to a) auto b) register c) static

655


To solve the 8 Queens problem, which algorithm is used?

584


What is a COPY CONSTRUCTOR and when is it called?

521






Define an Abstract class in C++?

519


What is a stack? How it can be implemented?

700


When do we run a shell in the unix system?

566


Can we run c program in turbo c++?

590


why and when we can declar member fuction as a private in the class?

1606


What are stl algorithms?

632


How to declaring variables in c++?

665


What is c strings syntax?

612


What is array in c++ pdf?

558


Explain register storage specifier.

599