Accenture Technical Interview for Experienced in c++ --- Hyderabad
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / abhishek rajan
There four kind of storage classes.
auto(stands for automatic)
static
extern
register
when we declare any variable using auto
eg:
auto int x;
or
int x;
then the scope of the variable will be local.
when we declare any variable using static
eg:
static int x;
then the variable with sustain with that assigned value.
extern is used for the global declaratioin.
register; when this storage class is used
eg:
register int x;
then the value of the variable is going to be stored
directly in the register.
but the register should be free to hold the content of x,
otherwise it will be considered as the variable has the
storage class auto.
| Is This Answer Correct ? | 20 Yes | 4 No |
written test model paper
Please tell me the critical bugs u raised recently in your retail project.I am a fresher in ETL TESTING,I want a real time answer?
New Samsung Galaxy S IV , iPhone 5 ,HTC , Nokia , Blackberry Available
I-GATE PLACEMENT PAPERS ---------placement paper -1
INFOSYS PLACEMENT PAPERS ----- Placement Paper 12
INFOSYS PLACEMENT PAPERS ----- Placement Paper 5
IFLEX Placement Paper { Mohali ,10 May 2007}
Synopsis PLACEMENT PAPERS --------------- Placement Paper 1
EA Writen test Questions for the position of Game Testers
9 Answers EA Electronic Arts, Pole To Win International,
igcar question paper
1 Answers IGCAR, TNEB Tamil Nadu Electricity Board,
MBT Interview And Selection Procedure For Freshers
HR ROUNDS
1 Answers CTS, ECMRD, Genpact,
Software (196929)
Sciences (12521)
Engineering (38023)
Business Management (7372)
Accounting (11552)
Advertising Media (662)
Architecture Design (207)
Call Centre (2482)
Fashion Modelling (332)
Government (17383)
Law (806)
Tourism Hotel (377)
Everything Else (2322)
Military Police (160)
Skills Abilities (0)
Aptitude Questions (4305)
Placement Papers (705)
Certifications (3752)
Visa Interview Questions (2231)
Code Snippets (1098)
Entrance Exams (862)
ERRORS (16636)