Accenture Technical Interview for Experienced in c++ --- Hyderabad

Answer Posted / kamal

Accenture Placement Papers | Accenture Interview Procedure |
Accenture Aptitude Questions | Accenture Technical Questions
| Accenture Interview Questions


Acenture Technical Questions

1. pointer to structure.

2. static variable and difference between (const char *p,char const
*p,const char* const p).

3 pass by value & reference.

4. string library functions(syntax).

5. Write a program to compare two strings without using the strcmp()
function.

6. Write a program to concatenate two strings.

7. Write a program to interchange 2 variables without using the third
one.

8. Write programs for String Reversal & Palindrome check .

9. Write a program to find the Factorial of a number.

10. Write a program to generate the Fibinocci Series.

11. Searching and sorting alogorithms with complexities.

Accenture Placement Papers | Accenture Interview Procedure |
Accenture Aptitude Questions | Accenture Technical Questions
| Accenture Interview Questions




Interview

I have attended the Week-End Accenture interview in Hyd. I was
interviewed for about an hour or so.

Here are the various questions

This interview was conducted for 1 year or more experienced candidates in
C++.

1. Initially he asked me about the project .

2. Then he asked to list the various types of storage classes and
asked to explain the scope & lifetime of each one.

(Auto,Static,Register,Extern,and also mutable(only used for classes))

3. Right shift/Left shift + 1's complement concepts then asked me to
give the output of this:

i = 10;
int j = i >> 10;
cout<<j;

Accenture Placement Papers | Accenture Interview Procedure |
Accenture Aptitude Questions | Accenture Technical Questions
| Accenture Interview Questions




4. Then, difference between

char *str = "Hello";
char arr[] = "Hello";
he started asking whether following statements get complied or not;
arr++; // ERROR..its like a pointer constant
*(arr + 1) = 's';
cout<<arr; // o/p: Hello

5. struct Date
{
int yr;
int day;
int month;
} date1,date2;

date1.yr = 2004;
date1.day = 4;
date1.month = 12;

now how will you initialize date2 (without member by member
assignment)


ans: date2 = date1;

what is the difference between c++ structures & c structures ?

6. Explain Primary Memory, Secondary Memory, Virtual Memory...etc ?

Accenture Placement Papers | Accenture Interview Procedure |
Accenture Aptitude Questions | Accenture Technical Questions
| Accenture Interview Questions




7. What happens when you run a programme. he meant what all the basic
steps that O/S would take??

8. Virtual functions/ Abstract classes/ Pointer functions

9. Asked to write a recursive factorial programme.

10. Then he gave me a problem of inheritance. Asked that how u would
invoke a base class member function using derived class pointer( that
function is not a virtual function & no virtual Base class inheritance)

Is This Answer Correct ?    27 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is the use of air in gc

1429


what is bidirectional?

1377


speak 1min on topic Travelling,memorable moment ,memorable day?

1731


aptitude

687


what you will do when you struck in traffic ?

1037






If anybody knows the recruitment procedure of IOTL & POWER MECHANICAL. send me the placement papers if u hav... very urgent ...

3886


printf("%d",printf("%d",printf("%d",printf("%s","ILOVECPROGRAM")))); whats the output

1387


What kind of Issues/bugs arise in ETL projects? I would like to know few issues (critical to somewhat bugs ) normally occur in ETL process especially when testing? Domains can be banking, retail or any.

1413


your project to describe and tell about : 1. My favorite things 2. My favorite places at home 3. Animals *Choose one of them to describe *Write on your paper *If you done, Send me *Did you get it

777


HI SIR I WANT PREVIOUS QUESTION PAPER OF HPCL I M CHEMICAL ENGG.

1937


Zero setting of sejong rottary press

1189


why didn't get placed so far?

1184


A frog wants to climb a pole which is 15 feet in height, frog can jump 3 feet every minute after which he rests for a minute where he slips down 2 feet. How much time will the frog take to reach the top of the pole?

587


What are the frequently asked questions for interview in capital iq company ?

1312


what is placement paper?

2140