20 Accenture interview questions that you should be ready to answer!!!

What is pointer to pointer in C?

A pointer to a pointer is a form of multiple indirections or a chain of pointers. Normally, a pointer contains the address of a variable. When we define a pointer to a pointer, the first pointer contains the address of the second pointer, which points to the location that contains the actual value. [][2]

What is dynamic memory allocation?

C dynamic memory allocation refers to performing manual memory management for dynamic memory allocation in the C programming language via a group of functions in the C standard library, namely malloc(), realloc(), calloc() and free(). What do you know about our company?

Accenture is one of the largest consulting firms in the world that provides strategy, consulting, digital, technology and operations services. A Fortune Global 500 company, it has been incorporated in Dublin, Ireland, since 1 September 2009.

What functions are used for dynamic memory allocation in C language?

malloc(),calloc() functions are used for dynamic memory allocation.

What is Encapsulation?

Encapsulation is an Object Oriented Programming concept that binds together the data and functions that manipulate the data, and that keeps both safe from outside interference and misuse.

Can we compile a program without main() function?

we can use preprocessor directive #define with arguments to give an impression that the program runs without main. But in reality, it runs with a hidden main function.C program can never run without a main().

What is a token?

A single meaningful element of a programming language. A token could be a keyword, an operator, or a punctuation mark.

What do you consider as the biggest professional achievement in your life?

when asked this one, this is a time to brag, not be humble. Think about your greatest professional accomplishments and how you achieved them. We recommend that you choose something that’s as recent as possible, and somewhat relevant to the job or your career you are applying for.

What is Polymorphism?

In object-oriented programming, polymorphism refers to a programming language’s ability to process objects differently depending on their data type or class. Generally, the ability of a single function to respond differently to different inputs is known as polymorphism.

What is a constructor?

In class-based object-oriented programming, a constructor is a special type of subroutine called to create an object. It prepares the new object for use, often accepting arguments that the constructor uses to set required member variables.

What does Scope Resolution operator do?

The ‘::’ scope resolution operator is used to get hidden names due to variable scopes so that you can still use them. The scope resolution operator can be used as both unary and binary. You can use the unary scope operator if a namespace scope or global scope name is hidden by a particular declaration of an equivalent name during a block or class. For example, if you have a global variable of name my_var and a local variable of name my_var, to access global my_var, you’ll need to use the scope resolution operator.

What are the C++ access specifiers?

There are three access specifiers in C++ Public – when members are declared as Public, they can be accessed from outside the Class through an object of the class. Protected – when members are declared as Protected then they can be accessed from outside the class but only in a class derived from it. Private – when members are declared as Private then they can only be accessed from within the class.

Define the queue data structure?

A collection of items in which only the earliest added item may be accessed. Basic operations are added to the tail, enqueue and delete from the head or dequeue.

What is RDBMS?

An RDMS is a database management system based on the relational model of data. Most databases in widespread use today are based on this model. eg:-MySQL,spanner,Sybase IQ etc

What is the 3-Tier architecture?

A three-tier architecture is a client-server architecture in which the functional process logic, data access, computer data storage and user interface are developed and maintained as independent modules on separate platforms.

What is a 2-Tier architecture?

A two-tier architecture is a software architecture in which a presentation layer or interface runs on a client, and a data layer or data structure gets stored on a server. Other kinds of multi-tier architectures add additional layers in distributed software design.

What is the static variable?

In computer programming, a static variable is a variable that has been allocated “statically”, meaning that its lifetime is the entire run of the program.

Tell me about your project?

Start by giving the shortest explanation of what the project was about, and the kind of team involved in creating it. Then, move on to which technologies you used to develop it. Finally, find something you liked about the project, and describe it.

What is ‘this’ keyword in java?

‘this’ keyword in java can be used inside the Method or constructor of Class. It works as a reference to the current Object, whose Method or constructor is being invoked. This keyword can be used to refer to any member of the current object from within an instance Method or a constructor.

What are the different storage classes in C?

There are four storage classes in C they are as follows: Automatic Storage Class. Register Storage Class. Static Storage Class. External Storage Class.

[]: https://youtu.be/1WPaCcaQO0E

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax