Upload Button Icon Add office photos

Broadcom

Compare button icon Compare button icon Compare

Filter interviews by

Broadcom C Developer Interview Questions, Process, and Tips

Updated 7 Oct 2024

Broadcom C Developer Interview Experiences

1 interview found

C Developer Interview Questions & Answers

user image Anonymous

posted on 12 Sep 2024

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Sep 2024. There were 3 interview rounds.

Round 1 - Technical 

(6 Questions)

  • Q1. Merge intervals ( Leetcode)
  • Q2. Buy and sell stocks II (Leetcode)
  • Q3. Runtime polymorphism and how it works vptr and vtable
  • Ans. 

    Runtime polymorphism in C++ is achieved through virtual functions, vptr (virtual pointer), and vtable (virtual table).

    • Runtime polymorphism allows objects of different classes to be treated as objects of a common superclass.

    • Virtual functions are declared in a base class and overridden in derived classes to achieve polymorphism.

    • vptr is a pointer that points to the vtable of an object, allowing dynamic binding of virtual ...

  • Answered by AI
  • Q4. Which version of c++ you use
  • Ans. 

    I primarily use C++17, but I am familiar with earlier versions as well.

    • I am comfortable working with features introduced in C++17 such as structured bindings and constexpr if

    • I have experience with earlier versions like C++11 and C++14

    • I stay updated with the latest features and improvements in C++ standards

  • Answered by AI
  • Q5. Design patterns
  • Q6. Have you used any windows api's?
  • Ans. 

    Yes, I have used Windows API's extensively in my previous projects.

    • I have used Windows API's for tasks such as creating windows, handling messages, and interacting with system resources.

    • Examples include using functions like CreateWindow, SendMessage, and ReadFile.

    • I have also worked with specific Windows API's like Winsock for networking and WinINet for internet-related tasks.

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. One debugging question was given which will test knowledge on copy constructor, copy assignment, their return type move constructor, move assignment shallow copy, deep copy runtime polymorphism pointer ini...
  • Q2. What is dynamic_cast where it can fail and what will happen in that case
  • Ans. 

    dynamic_cast is a C++ operator used for safe downcasting of pointers and references in polymorphic classes.

    • dynamic_cast is used to safely downcast a pointer or reference from a base class to a derived class.

    • It can fail if the object being casted is not of the target type, in which case it returns a null pointer for pointers or throws a std::bad_cast exception for references.

    • Dynamic_cast can only be used with pointers o...

  • Answered by AI
Round 3 - Technical 

(5 Questions)

  • Q1. Same debugging question while making it advance how will you handle in case there is data member of pointer to int array in deep copy how will you ensure that it does delete previous data in case new opera...
  • Q2. What is union in c++
  • Ans. 

    Union in C++ is a data structure that allows storing different data types in the same memory location.

    • Unions are similar to structures but all members share the same memory location.

    • Only one member of a union can be accessed at a time.

    • Unions are useful when you need to store different data types in the same memory space.

    • Example: union MyUnion { int i; float f; };

    • Example: MyUnion u; u.i = 10; // Accessing integer member

  • Answered by AI
  • Q3. What is weak pointer
  • Ans. 

    Weak pointer is a type of smart pointer in C++ that does not control the lifetime of the object it points to.

    • Weak pointers are used to break circular references in shared pointers.

    • They do not increase the reference count of the object.

    • They are used in scenarios where the object may be deleted while there are still weak pointers pointing to it.

  • Answered by AI
  • Q4. What are processes and threads memory is allocated to what process or threads? what is mutex and semaphore how many threads/process can you launch at a time what is meaning of core in 4-core system what is...
  • Ans. 

    Processes and threads are units of execution in a computer system. Memory is allocated to processes. Mutex and semaphore are synchronization mechanisms. Core refers to a processing unit in a multi-core system. Context switching is the process of switching between different processes or threads.

    • Processes are independent units of execution with their own memory space and resources.

    • Threads are lightweight units of executi...

  • Answered by AI
  • Q5. What is this pointer tell me situation where only this pointer can be used nothing else will work

Skills evaluated in this interview

Interview questions from similar companies

Interview Questionnaire 

9 Questions

  • Q1. Tree questions related like traversal?
  • Q2. Locate the sum of 2 numbers in a linear array (Unsorted and sorted) and their complexities
  • Ans. 

    Locate sum of 2 numbers in a linear array (unsorted and sorted) and their complexities

    • For unsorted array, use nested loops to compare each element with every other element until the sum is found

    • For sorted array, use two pointers approach starting from the beginning and end of the array and move them towards each other until the sum is found

    • Complexity for unsorted array is O(n^2) and for sorted array is O(n)

  • Answered by AI
  • Q3. Pointers with increment/decrement, address of and value at operators (++,–,*,&)
  • Ans. 

    Pointers are used to manipulate memory addresses and values in C++. Increment/decrement, address of and value at operators are commonly used.

    • Incrementing a pointer moves it to the next memory location of the same data type

    • Decrementing a pointer moves it to the previous memory location of the same data type

    • The address of operator (&) returns the memory address of a variable

    • The value at operator (*) returns the value sto

  • Answered by AI
  • Q4. A point and a rectangle is present with the given coordinates. How will you determine whether the point is inside or outside the rectangle?
  • Ans. 

    To determine if a point is inside or outside a rectangle, we check if the point's coordinates fall within the rectangle's boundaries.

    • Check if the point's x-coordinate is greater than the left edge of the rectangle

    • Check if the point's x-coordinate is less than the right edge of the rectangle

    • Check if the point's y-coordinate is greater than the top edge of the rectangle

    • Check if the point's y-coordinate is less than the b...

  • Answered by AI
  • Q5. There is a point inside the rectangle. How will you determine the line that passes through the point and divides the rectangle into 2 equal halves?
  • Ans. 

    To find line that divides rectangle into 2 equal halves through a point inside it.

    • Find the center of the rectangle

    • Draw a line from the center to the given point

    • Extend the line to the opposite side of the rectangle

    • The extended line will divide the rectangle into 2 equal halves

  • Answered by AI
  • Q6. There is a scheme which contains 8-bit and 16-bit signed numbers. How many such combinations are possible?
  • Ans. 

    There are multiple combinations of 8-bit and 16-bit signed numbers. How many such combinations are possible?

    • There are 2^8 (256) possible combinations of 8-bit signed numbers.

    • There are 2^16 (65,536) possible combinations of 16-bit signed numbers.

    • To find the total number of combinations, we can add the number of combinations of 8-bit and 16-bit signed numbers.

    • Therefore, the total number of possible combinations is 256 +

  • Answered by AI
  • Q7. You are given an array of elements. Some/all of them are duplicates. Find them in 0(n) time and 0(1) space. Property of inputs – Number are in the range of 1..n where n is the limit of the array
  • Ans. 

    Find duplicates in an array of elements in 0(n) time and 0(1) space.

    • Use the property of inputs to your advantage

    • Iterate through the array and mark elements as negative

    • If an element is already negative, it is a duplicate

    • Return all the negative elements as duplicates

  • Answered by AI
  • Q8. Given a array of digits. print all combination of of these i.e all no formed by these. repetition allowed. and then repetition not allowed example: i/p: arr={1,2,3} o/p: (without repetition) 123, 132, 213,...
  • Q9. Questions on project

Interview Preparation Tips

Round: Test
Duration: 90 minutes
Total Questions: 3

Round: HR Interview
Experience: HR interview was all about my projects, my background and a few more typical HR questions. It was pretty easy to answer them.

Skills: Algorithm, Data structure, C++
College Name: IIT ROORKEE

Skills evaluated in this interview

I appeared for an interview before May 2016.

Interview Preparation Tips

Round: written test
Experience: it was elitmus test conducted by the company itself on campus. As per my knowledge only those scoring 90 percentile got selected for round 2.
Tips: Attempt only those ques that are necessary for scoring 90+ in e litmus. Specially in verbal don't attempt more then required questions, though you might be tempted. The aim is not to score max bt to score 90+

Round: Technical Interview
Experience: This was a programming based round. I was asked to write algorithms for various array linked list based problems. There was cross questioning prompting to reduce complexity and to use different data structures for same problems.

Mostly it focused on subjects like c, data structures and ADA.
Tips: Be clear with basic of data structures and algorithms. Pointers, queue, stacks, array linked lists, sorting etc are the keywords.

Round: Technical Interview
Experience: This was a information security specific round since that was my major. In depth cross questioning on my thesis topics, honeypots, network intrusion etc. Security certificates, and on the go problems to provide security solution layer wise in different scenarios. Security concept of torrents was also asked in detail.
Tips: It was more of a security discussion and throwing of ideas about how things in a particular case could work or could not. Don't worry about right or wrong answer just be clear with your reasoning about the solution you are suggesting.

Round: Other Interview
Experience: I don't know what to name this round, but it focused mainly on developing test cases for an object. Say they gave me a stapler and said to develop a test plan listing down test cases for a given object to pass so that it can be confirmed that it is a stapler. Another scenario was with a lift.
Tips: This is one round where your presence of mind and inter personal skills matter. I think the way you present your thoughts was most important here.

Round: Behavioural Interview
Experience: This was was mostly about how would you react in a given professional situation
Like your assigned work could not be completed on time, or if you are doing something wrong with the work assigned.
Tips: This is all about inter personal skills and putting your best foot forward :)

College Name: Indira Gandhi Delhi Technical University For Women, Delhi

I appeared for an interview in Sep 2016.

Interview Preparation Tips

Round: Test
Experience: Questions aren't tough but they take more time to read itself.
Tips: First try to attempt the questions which are seemingly small. Reading bigger questions first and wasting more time on that isnt a good idea at all.
Duration: 30 minutes
Total Questions: 30

Skills: Technical Skill, Analytical Skills
College Name: IIT Kharagpur

I applied via Campus Placement

Interview Questionnaire 

4 Questions

  • Q1. What is a program, task and threads
  • Ans. 

    A program is a set of instructions that tells a computer what to do. A task is a unit of work performed by a program. A thread is a sequence of instructions within a task.

    • A program is a collection of instructions that are executed by a computer to perform a specific task.

    • A task is a unit of work that is performed by a program. It can be a specific action or a set of actions.

    • A thread is a sequence of instructions within...

  • Answered by AI
  • Q2. Delete a node in a linked list
  • Ans. 

    To delete a node in a linked list, we need to adjust the pointers of the previous and next nodes.

    • Find the node to be deleted by traversing the linked list

    • Adjust the pointers of the previous and next nodes to skip the node to be deleted

    • Free the memory occupied by the node to be deleted

  • Answered by AI
  • Q3. What is a function pointer and volatile type in c
  • Ans. 

    A function pointer is a variable that stores the address of a function. Volatile type is used to declare variables that can be modified by external factors.

    • Function pointers are used to pass functions as arguments to other functions.

    • Volatile type is used when a variable's value can be changed unexpectedly by external factors.

    • Function pointers can be used to implement callbacks or event handling mechanisms.

    • Volatile type...

  • Answered by AI
  • Q4. Summarise your resume
  • Ans. 

    Experienced software developer with expertise in Java, Python, and SQL

    • Proficient in Java, Python, and SQL programming languages

    • Developed web applications using Java Spring framework

    • Experience with database management and optimization using SQL

    • Worked on various software projects in a team environment

  • Answered by AI

Interview Preparation Tips

Round: Test
Experience: Paper was challenging and It was well set.

Duration: 90 minutes
Total Questions: 60

Round: Technical Interview
Experience: It was a very good experience overall. Interviewer helped to ease the tension.
Tips: Waiting time can be reduced.

General Tips: Prepare for precedence of operators in C.
Try to be fast in solving the problems.
Skills: Knowledge Of Your Resume Points, Pointers In C, Operating System Basics
Duration: 2
College Name: IIT Madras
Motivation: Qualcomm is a

Skills evaluated in this interview

Interview Questionnaire 

5 Questions

  • Q1. In C programming they asked about storage classes, Volatile , Whole compilation process steps by steps, Dangling pointer , Memory leak, Memory corruption
  • Q2. In data structure they asked question on String , Linked List and array
  • Q3. Data structure question section is easy don't go for complex algorithms just study basic algorithms. like reverse the linked list in group on given size
  • Q4. They also asked question on bit manipulation. Like Check that given number binary representation is palindrome or not?
  • Q5. Swap even and odd bits in given number
  • Ans. 

    Swap even and odd bits in a given number

    • Create a mask for even bits and odd bits

    • Shift even bits to right and odd bits to left

    • Combine even and odd bits using bitwise OR operator

  • Answered by AI

Interview Preparation Tips

College Name: NA

Skills evaluated in this interview

I appeared for an interview before Sep 2020.

Round 1 - Video Call 

(3 Questions)

Round duration - 30 minutes
Round difficulty - Easy

  • Q1. How do you search for a node in a linked list?
  • Ans. 

    To search for a node in a linked list, iterate through the list and compare each node's value with the target value.

    • Start at the head of the linked list

    • Iterate through each node by following the 'next' pointer

    • Compare the value of each node with the target value

    • Return the node if found, otherwise return null

  • Answered by AI
  • Q2. How do you detect a loop in a linked list?
  • Ans. 

    To detect a loop in a linked list, we can use Floyd's Cycle Detection Algorithm.

    • Initialize two pointers, slow and fast, at the head of the linked list.

    • Move slow pointer by one step and fast pointer by two steps.

    • If there is a loop, the two pointers will eventually meet.

    • Alternatively, we can use a hash set to store visited nodes and check for duplicates.

  • Answered by AI
  • Q3. Implement a stack using a singly linked list.
  • Ans. 

    Implement a stack using a singly linked list

    • Create a Node class with data and next pointer

    • Create a Stack class with top pointer pointing to the top of the stack

    • Implement push, pop, and peek operations by manipulating the linked list

    • Example: Node class - Node { int data; Node next; }

  • Answered by AI
Round 2 - Video Call 

(2 Questions)

Round duration - 40 minutes
Round difficulty - Easy

  • Q1. What is the top view of a binary tree?
  • Ans. 

    The top view of a binary tree shows the nodes visible from the top when looking down from the root node.

    • The top view of a binary tree is the set of nodes visible from the top when looking down from the root node.

    • Nodes at the same horizontal distance from the root are considered at the same level in the top view.

    • If multiple nodes are at the same horizontal distance, only the topmost node at that level is included in the...

  • Answered by AI
  • Q2. Explain the process of deleting a node from a linked list, covering all possible cases.
  • Ans. 

    Deleting a node from a linked list involves updating pointers to maintain the list's integrity.

    • Identify the node to be deleted by traversing the list

    • Update the previous node's next pointer to skip the node to be deleted

    • Free the memory allocated to the node to be deleted

  • Answered by AI

Interview Preparation Tips

Professional and academic backgroundI completed Information Technology from Inderprastha Engineering College. I applied for the job as SDE - 1 in NoidaEligibility criteriaminimum 70 %Cadence Design Systems interview preparation:Topics to prepare for the interview - Data Structures and Algorithms, Object-Oriented Programming, System DesignTime required to prepare for the interview - 5 MonthsInterview preparation tips for other job seekers

Do practice a lot of questions on linked list and stacks as these are two most important data structures asked in the interview. Also, try to implement it yourself without seeing the solution. Also prepare for Computer Science subjects like Operating System, Database Management System, Computer Networks, etc. I prepared them through Coding Ninjas notes which were simpler and easy to understand. 

Application resume tips for other job seekers

Keep your resume short and up to mark and check spellings before submitting it for the interview process.

Final outcome of the interviewSelected

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
Not Selected

I appeared for an interview in Dec 2022.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. He asked about Heap, stack segment
  • Q2. He asked os related ques like semaphore, paging

Interview Preparation Tips

Interview preparation tips for other job seekers - Go through fundamentals and basic of C language. For this role they had 4 interview rounds.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Linkedlist questions

Round 2 - One-on-one 

(2 Questions)

  • Q1. Depth Os and C
  • Q2. Multi threading and semaphores
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Coding Test 

Medium coding qs with technical interview

Round 2 - Technical 

(1 Question)

  • Q1. Reverse an array
  • Ans. 

    Reverse an array of strings

    • Create a new array and iterate through the original array in reverse order, adding each element to the new array

    • Use built-in array methods like reverse() or spread operator for a more concise solution

    • Ensure to handle edge cases like empty array or null values

  • Answered by AI

Broadcom Interview FAQs

How many rounds are there in Broadcom C Developer interview?
Broadcom interview process usually has 3 rounds. The most common rounds in the Broadcom interview process are Technical.
What are the top questions asked in Broadcom C Developer interview?

Some of the top questions asked at the Broadcom C Developer interview -

  1. what are processes and threads memory is allocated to what process or threads? ...read more
  2. Runtime polymorphism and how it works vptr and vta...read more
  3. what is dynamic_cast where it can fail and what will happen in that c...read more

Tell us how to improve this page.

Broadcom C Developer Interview Process

based on 1 interview

Interview experience

4
  
Good
View more

Interview Questions from Similar Companies

Qualcomm Interview Questions
3.8
 • 256 Interviews
Intel Interview Questions
4.2
 • 215 Interviews
Texas Instruments Interview Questions
4.0
 • 120 Interviews
Synopsys Interview Questions
3.9
 • 88 Interviews
Molex Interview Questions
3.9
 • 53 Interviews
View all
Software Engineer
136 salaries
unlock blur

₹14.1 L/yr - ₹49.3 L/yr

Senior Software Engineer
127 salaries
unlock blur

₹9.5 L/yr - ₹35 L/yr

Accountant
119 salaries
unlock blur

₹0.6 L/yr - ₹7 L/yr

Test Engineer
48 salaries
unlock blur

₹3.2 L/yr - ₹10.6 L/yr

Principal Software Engineer
47 salaries
unlock blur

₹14.3 L/yr - ₹55 L/yr

Explore more salaries
Compare Broadcom with

D E C

2.8
Compare

Fedder And Garten

5.0
Compare

Hi Technologies Limited, UAB

3.7
Compare

JK Khanna & Co.

3.0
Compare
Did you find this page helpful?
Yes No
write
Share an Interview