Add office photos
Employer?
Claim Account for FREE

iLink Digital

2.5
based on 120 Reviews
Filter interviews by

10+ HDFC Bank Interview Questions and Answers

Updated 23 Nov 2024

Q1. what's difference in pass by reference and pass by pointer which one is better?

Ans.

Pass by reference and pass by pointer are both ways to pass data to a function, but they differ in how they access and modify the data.

  • Pass by reference uses a reference to the original variable, allowing direct access and modification.

  • Pass by pointer uses a pointer to the memory address of the variable, requiring dereferencing to access and modify the data.

  • Pass by reference is generally considered safer and more convenient, while pass by pointer offers more flexibility and c...read more

View 1 answer

Q2. what's thread synchronization semaphores in threading what's critical section in threading One threading problem with 3 threads and how will you synchronize them?

Ans.

Thread synchronization is the coordination of multiple threads to ensure they access shared resources in a controlled manner.

  • Thread synchronization prevents race conditions and data inconsistencies.

  • Semaphores are synchronization primitives used to control access to resources.

  • Critical sections are code segments that must be executed atomically.

  • A common threading problem is the producer-consumer problem.

  • Synchronization mechanisms like locks, semaphores, or condition variables c...read more

Add your answer

Q3. what is pure virtual function write one example of pure virtual function

Ans.

A pure virtual function is a function declared in a base class that has no implementation and must be overridden in derived classes.

  • Pure virtual functions are used to create abstract classes, which cannot be instantiated.

  • They provide a common interface for derived classes to implement their own functionality.

  • An example of a pure virtual function is a 'draw' function in a base 'Shape' class, which must be implemented by derived classes like 'Circle' or 'Rectangle'.

Add your answer

Q4. Why OOP is needed what's encapsulation, abstraction, polymorphism different types of polymorphism

Ans.

OOP is needed for modular and reusable code. Encapsulation hides implementation details. Abstraction simplifies complex systems. Polymorphism allows objects to take on multiple forms.

  • OOP promotes code reusability and modularity

  • Encapsulation hides implementation details and protects data

  • Abstraction simplifies complex systems by focusing on essential features

  • Polymorphism allows objects to be used in multiple ways

  • Types of polymorphism include compile-time and runtime polymorphis...read more

Add your answer
Discover HDFC Bank interview dos and don'ts from real experiences

Q5. What's manage and unmage in C++

Ans.

manage and unmanage are not standard terms in C++

  • There are no standard terms or concepts called 'manage' and 'unmanage' in C++

  • These terms might be specific to a particular framework or library

  • Without more context, it is difficult to provide a specific answer

Add your answer

Q6. what's vtable and vpointer explain by drawing

Ans.

vtable is a virtual function table used in object-oriented programming to implement dynamic dispatch.

  • vtable is a data structure that contains pointers to the virtual functions of a class.

  • vpointer is a pointer that points to the vtable of an object.

  • It allows objects of different derived classes to be treated as objects of the base class.

  • When a virtual function is called, the vpointer is used to find the correct function in the vtable.

Add your answer
Are these interview questions helpful?

Q7. how to make dll. Can you make simple dll file

Ans.

A DLL (Dynamic Link Library) is a file containing code and data that can be used by multiple programs simultaneously.

  • To create a DLL, you need to write the code in a programming language like C++ or C#.

  • Compile the code into an object file and then link it with a DLL linker to create the DLL file.

  • DLLs can contain functions, classes, variables, and resources that can be accessed by other programs.

  • DLLs provide code reusability, modularity, and allow for easier maintenance and up...read more

Add your answer

Q8. Difference between C and C++

Ans.

C is a procedural programming language, while C++ is an extension of C with object-oriented programming features.

  • C is a procedural language, while C++ supports both procedural and object-oriented programming paradigms.

  • C++ has additional features like classes, objects, inheritance, and polymorphism.

  • C++ supports exception handling and templates, which are not available in C.

  • C++ has a standard template library (STL) that provides ready-to-use data structures and algorithms.

  • C++ a...read more

Add your answer
Share interview questions and help millions of jobseekers 🌟

Q9. Write a basic code you know in python

Ans.

A basic code in Python

  • Print 'Hello, World!' using print() function

  • Create a variable and assign a value to it

  • Use if-else statement to check a condition

  • Create a function and call it

Add your answer

Q10. Filters in .Net and when to use

Ans.

Filters in .Net are used to manipulate data before it is displayed or processed further.

  • Filters can be used for data validation, formatting, or transformation.

  • Filters are commonly used in ASP.NET MVC for tasks like authentication, authorization, logging, etc.

  • Filters can be applied globally to all controllers or specific to individual actions.

  • Examples of filters in .Net include AuthorizationFilter, ActionFilter, ResultFilter, ExceptionFilter, etc.

Add your answer

Q11. Why are you interested in Data science and ML? Does your skills align with you interests?

Ans.

I am interested in Data science and ML because of their ability to uncover insights from data and make predictions.

  • I am fascinated by the power of data to drive decision-making and solve complex problems.

  • I enjoy working with large datasets and finding patterns within them.

  • I believe that the combination of statistics, programming, and domain knowledge in data science is a perfect fit for my skills.

  • I have experience in programming languages like Python and R, as well as in stat...read more

Add your answer

Q12. CROS Policy and its purpose

Ans.

CROS Policy is a policy that allows employees to work from a different location than their usual workplace.

  • CROS stands for Company Remote Office Setup.

  • The purpose of CROS Policy is to provide flexibility to employees in terms of work location.

  • It helps in improving work-life balance and increasing employee satisfaction.

  • Examples of CROS Policy include allowing employees to work from home or from a co-working space.

Add your answer

Q13. Explain about the Automation framework

Ans.

An automation framework is a set of guidelines, best practices, and tools used for automated testing of software applications.

  • Automation frameworks provide a structured way to develop and execute automated tests.

  • They help in improving test efficiency, reusability, and maintainability.

  • Common types of automation frameworks include data-driven, keyword-driven, and hybrid frameworks.

  • Frameworks like Selenium WebDriver, TestNG, and Cucumber are popular choices for automation testin...read more

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at HDFC Bank

based on 11 interviews in the last 1 year
Interview experience
3.5
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Interview Questions from Similar Companies

4.1
 • 604 Interview Questions
3.9
 • 470 Interview Questions
4.0
 • 227 Interview Questions
4.1
 • 162 Interview Questions
4.1
 • 137 Interview Questions
4.4
 • 134 Interview Questions
View all
Top iLink Digital Interview Questions And Answers
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter