2. Technical Round Introduction and Project Discussion Topics Covered: C++: Vectors (storage, limit, syntax) Pointers & Reference Variables Array pointers: creation & destruction new and delete operators Virtual Functions, Polymorphism Virtual Destructor (GFG output prediction) Virtual Tables & v-pointers (definition) DSA Question: Check if a Linked List is a Palindrome Interview was very helpful, with guidance and corrections provided throughout.
C Interview Questions
5,471 c interview questions shared by candidates
isPalindrome: /// /// The goal of this function is to determine if a string is /// a palindrome. e.g. radar if spelled backwards is radar /// /// String to test /// true if palindrome, false if not // abba abcd
1. Sort array with ones and zeros. This was the most "complicated" part. 2. Complexity of insert/delete/find in double linked list, binary tree. Complexity of sort of array of numbers, of sorted array of numbers. 3. Questions like what order ctors/dtors work. 4. Some crap with 2 classes having static shared ptr for kernel object, where kernel was class poorly written. Like what's wrong with the code was the question. 5. int x; int &j; j=x; What's wrong? Reference should be assigned to a variable when declared actually. Other questions very primitive.
how do you work with deadlines?
How did you solve the problem in your application?
Typical: "Tell me about yourself.." etc.
Describe the listed communication protocols: spi, i2c.
Basic c++ concepts
The questions themselves deserve a separate paragraph. The interview was split to several quizzes: hardware design, rtos-related, c, c++, linux, security. Majority of the questions was single-answer test questions. Few open questions to write some snippet. The hardware and security part was quite ok. The rest was not. The C/C++ questions were based on a code snippets prepared exactly for interview purpose. So, there were some crazy-looking constructs like 3[arr] + (arr+1)[1], !!!arr, &(*(&arr[1]+1)+2). Things that you should never see on production. I don't see a point of asking such questions. This kind of questions doesn't check if you're good engineer or not. There were no good coding practices questions, no software design-related. All C++ questions were pre-C++11.
Seriez-vous définir le mot clé de programmation "Interface"
Viewing 4531 - 4540 interview questions