1. What does #include do. 2. What is preprocessor. 3. What does using namespace std do. Can we create our own namespace. 4. Who calls main function. Can we pass arguments in main function. 5. Write our own function to copy a char array to another. Function accepts two args: src and dest. 6. Write a void function getBit which accepts a bit position and return that bit of a number as bool. 7. Write a void function setBit which accepts a bit position and 0/1 (set as 0 or 1) and sets that bit with given 0 or 1. 8. WAP to overload operator + which adds two imaginary number and return resulted imaginary number.

AnswerBot
2y
Technical interview questions for Associate Software Engineer position.
iostream header file is used for input/output operations in C++.
Preprocessor directives are executed before the compilation of th...read more
Anu Anu
1y
1. #include directive tells the C preprocessor to include the contents of the file specified in the input stream to the compiler and then continue with the rest of the original file.
2.a computer prog...read more
Help your peers!
Add answer anonymously...
Popular interview questions of Associate Software Engineer
An Associate Software Engineer was asked 7mo agoQ1. Give a DSA question that can be solved in O(1) space complexity.
An Associate Software Engineer was asked Q2. Given a string, remove duplicate characters from it.
An Associate Software Engineer was asked Q3. 1. Give your introduction. 2. What is OOP, what are pillars of OOP. 3. Define in...read more
>
Celeb-AI Associate Software Engineer Interview Questions
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

