Electronics Firmware Engineer - Interview Questions - 6

Electronics Firmware Engineer - Interview Questions - 6


132. How to swap two numbers using bitwise operators?
133. What is recursion? Write a program using recursion (factorial)?
134. What is an Enumeration?
135. What is the use of typedef?
136. What are header files? What they contain?
137. Where does various variables stored in C?
138. What is heap and stack
139. Explain memory layout  of a C program
140. Give an example to access fixed memory location in C
141. What does the following code output and why?
void foo(void)
{
unsigned int a = 6;
int b = -20;
(a+b > 6) ? puts("> 6") :puts("<= 6");
}
142. What is NULL pointer and what is its use?
143. What is malloc function do?
144. Difference between RISC and CISC processor
145. What is the difference between structure and union?
146. Difference between Definitions versus Declarations

Post a Comment

0 Comments