Embedded C Programming Basic Questions for Job Interview and Lab Examination (Viva Tips)
A. Program to Reverse a single linked list Node *Reverse (Node *p) { Node *pr = NULL; while (p != NULL) { Node *tmp = p->ne...

A. Program to Reverse a single linked list Node *Reverse (Node *p) { Node *pr = NULL; while (p != NULL) { Node *tmp = p->ne...
C Programming Questions Part - I A. Write a macro for set and reset, swap. #define SET_BIT( _X_, _NO_ ) ( 1<<(_X_-1)) | _NO_ #...
1.Which of the following is not a compound assignment operator? a) /= b) += c) %= d) == ANSWER: d) == 2.What will be the output of the following ... Readmore
1.) What do the 'c' and 'v' in argv stands for? a.) 'c' means argument control 'v' means argument vector b.) '... Readmore
1.Longevity of a variable refers to a) The duration for which the variable retains a given value during the execution of a program. b) The portion... Readmore
1.) Smallest element of array's index is called a.) lower bound b.) upper bound c.) range d.) Extraction ANSWER: a.) lower bound 2.) O(N)(li... Readmore
1.) Which among the following is odd one out? a.) printf b.) fprintf c.) putchar d.) scanf ANSWER: d.) scanf 2.) For a typical program, the inp... Readmore
1.) Trace the output of the code #include void foo(int*); int main() { int i = 10; foo((&i)++); } void foo(int *p) { printf(""%d\n&... Readmore
How does the interrupt architecture works?Interrupt architecture allows the use of interrupt by the processor whenever an Input/output is ready for... Readmore
1.) If every node u in G is adjacent to every other node v in G, A graph is said to be a.) isolated b.) complete c.) finite d.) strongly connecte... Readmore
What are the functional requirements that are used in the embedded systems? Functional requirements specifies the discrete and the logic to provid... Readmore
Differentiate between mutexes vs semaphores. Semaphores is a synchronization tool to overcome the critical section problem. A semaphore S is basi... Readmore
How are macros different from inline functions?Macros are normally used whenever a set of instructions/tasks have to be repeatedly performed. They ... Readmore
What is the need for an infinite loop in Embedded systems?Infinite Loops are those program constructs where in there is no break statement so as to... Readmore
*Frequency Response of an Op-amp •An open-loop op-amp has a constant gain Ao only at low frequencies, and a continuously reducing gain at higher... Readmore
Slew Rate Limitation in an Operational Amplifiers 1. A real op-amp is limited in its ability to respond instantaneously to an input signal with ... Readmore
Effect of Non-zero Input Bias Currents•In practice op-amps do not actually have zero input currents, but rather have very small input currents labe... Readmore
We have started series of C programming Q&A for job interview for freshers.Computer / IT Engineering Professionals and Students alike will be... Readmore
We have started series of C programming Q&A for job interview candidates.Engineering Professionals and students alike will be benefited.We reco... Readmore
We have chosen Java Oracle J2EE, J2SE, Net-beans, JVM ( Java Virtual Machine ) as our readers choice.We have created Objective Type Multiple Answer... Readmore
Here we have collected frequently asked question in job interviews.We have chosen Java as our readers choice.You will find these helpful.We encoura... Readmore
We have started series of C programming Question bank for job interview candidates.Engineering Professionals and students alike will be benefited.W... Readmore
1. We can insert pre written code in a C program by using #read #get #include #put Answer: Option 3 2. Differe... Readmore
Atmel Studio 7 is the integrated development platform (IDP) for developing and debugging Atmel® SMART ARM®-based and Atmel AVR® microcontroller (MC... Readmore
The basics of the Visual Studio 2012 for Windows Desktop Integrated Development Environment (IDE) for writing, running and debugging your applicat... Readmore
A photo-resistor or light-dependent resistor (LDR) or photocell is a light-controlled variable resistor. The resistance of a photo-resistor decreas... Readmore
Questions:What potential problems can arise from typecasting a base class pointer into a derived class pointer so that the derived class's memb... Readmore
Questions: Why is Turbo C++ not able to find any of my #include files?Answers: The compiler searches for include files in the Turbo C++ Include Dir... Readmore
This post is for beginners who are either trying to use Turbo C/C++ for programming. Some frequently encountered problem and theirs solution in fo... Readmore
1. How will you change the value of a constant variable in C? Answer: Constant can be changed by using the pointer. Initialize a pointer to point t... Readmore
1. What are the differences between Arrays and Linked List Answer:- Arrays and Linked list both are list data structures used for maintaining a li... Readmore
1. What is the purpose of main() function? Answer:-main() is the user-defined function. main() is the first function in the program, which gets cal... Readmore