- World's Largest Collection of Interview Questions & Answers, FAQs, queries, sample papers, exam papers, dumps, what, why, how, where, when questions
Our Services
Get 9,000 Interview Questions & Answers in an eBook.

Get it now !!
Send your Resume to 6000 Companies
Embedded Systems Interview Questions & Answers - Learning Mode

Embedded Systems Interview Questions & Answers - Learning Mode

An embedded system is a computer system with a dedicated function within a larger mechanical or electrical system, often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts. Embedded systems control many devices in common use today. An embedded system is a computer that has been built to solve only a few very specific problems and is not easily changed. In contrast, a general-purpose computer can do many different jobs, and can be changed at any time with new programs for new jobs.

Try Embedded Systems Interview Questions & Answers - Exam Mode

1 2 Next

Sort By : Latest First | Oldest First | By Rating

Embedded Systems Interview Questions & Answers - Learning Mode
Try Embedded Systems Interview Questions & Answers - Exam Mode
Question: What is the difference between hard real-time and soft real-time OS?

Question: Who to know whether system uses big endian or little endian format and how to convert among them?

Answer: Here is a small code segment to determine the endianess of a system at run time.

short int number = 0x1;
char *byte = (char*)&number;
if ( byte[0] )
printf("Little endian");
printf("Big endian");

Submitted by Pooja Agrawal ( Source:
Question: Advantages and disadvantages of using macro and inline functions?

Answer: Advantage: Macros and Inline functions are efficient than calling a normal function. The times spend in calling the function is saved in case of macros and inline functions as these are included directly into the code.

Disadvantage: Macros and inline functions increased the size of executable code.

Submitted by Naveen Rao (


Difference in inline functions and macro
1) Macro is expanded by preprocessor and inline function are expanded by c Source:
Question: What is interrupt latency? How can you recduce it?

Question: Why cannot arrays be passed by values to functions?

Answer: Arrays can't be passed by values. Because , the array name is evaluated to be a pointer to the first element of the array. e.g. when we pass array x, its equivalent to &x[0] i.e. pointer to the first element. Its type is, therefore, int *, and a called function uses this pointer (passed as an argument) to indirectly access the elements of the array.
e.g . int main()
void function1(int A[],int n);

int x[10],i;
for(i=0;i<10; Source:
Question: Can structures be passed to the functions by value?

Answer: Yes, we can do it.
consider the following code..

struct emp
int no;
int empno;
typedef struct emp empdata;


empdata edata;
void display( empdata );

clrscr(); = 1;
edata.empno = 2005;
display( edata );

return 0;

void display( empdata pst )
printf( "%d", pst.empno );

Submitted by Vijaya Kumar (vijay_star2000@yahoo Source:
Question: ++*ip increments what? it increments what ip points to

Answer: ++*ip will increment the value to which ip points.
ex: *ip=3;

the output will be 4
after this operation ip will point towards the same memory location. It doesn't increments the memory location in this operation.

Submitted by Mahesh Kumar (
Question: What will this return malloc(sizeof(-10))

Answer: -10 is integer, so it return 4 bytes.... Source:
Question: What is forward reference w.r.t. pointers in c?

Question: malloc(sizeof(0)) will return ? valid pointer

Answer: sizeof(0) returns the size of integer whose value is 0. Hence malloc
would allocate sizeof(int) bytes and return a valid pointer.

Submitted by Kokila21 ( Source:
Question: What are the different storage classes in C?

Question: Can u have inline virtual functions in a class?

Question: Order of constructor and destructor call in case of multiple inheritance?

Question: #define cat(x,y) x##y concatenates x to y. But cat(cat(1,2),3) does not expand but gives preprocessor warning. Why?

Answer: #define cat(x,y) x##y concatenates x to y. But cat(cat(1,2),3) does not expand but gives preprocessor warning. Why?

in this case the cat(x,y) is the macro which is defined by using the preprocessor directive , this will be substituted only at the place where it is called in this example it happens like this

cat(1,2)##3 which will once again become 1##2##3
here if we use ## in between we can join or concatenat only two variables that why it gives a preprocessor warning

__ Source:
Question: What are the features different in pSOS and vxWorks?

Question: What are the 4 different types of inheritance relationship?

Question: Which way of writing infinite loops is more efficient than others?

Question: What is interrupt latency?

Question: How would you find out the no of instance of a class?

Answer: Declare a static variable( class level variable) in the class and increment it every time u create an instance of the class.

There is also some method to find the number of instance of a class....

Submitted by Venu madhav Gutlapalli (


The number of instances of a class can be found out by declaring a static variable in the constructor of the class and incrimenting it in the constructor.

Submitted by Praveen (praveen.manch Source:
Question: Can you have constant volatile variable?


1 2 Next

India News Network
Latest 20 Questions
Payment of time- barred debt is: (a) Valid (b) Void (c) Illegal (d) Voidable
Consideration is defined in the Indian Contract Act,1872 in: (a) Section 2(f) (b) Section 2(e) (c) Section 2(g) (d) Section 2(d)
Which of the following is not an exception to the rule, "No consideration, No contract": (a) Natural love and affection (b) Compensation for involuntary services (c) Completed gift (d) Agency
Consideration must move at the desire of: (a) The promisor (b) The promisee (c) The promisor or any other party (d) Both the promisor and the promisee
An offer which is open for acceptance over a period of time is: (a) Cross Offer (b) Counter Offer (c) Standing Offer (d) Implied Offer
Specific offer can be communicated to__________ (a) All the parties of contract (b) General public in universe (c) Specific person (d) None of the above
_________ amounts to rejection of the original offer. (a) Cross offer (b) Special offer (c) Standing offer (d) Counter offer
A advertises to sell his old car by advertising in a newspaper. This offer is caleed: (a) General Offer (b) Special Offer (c) Continuing Offer (d) None of the above
In case a counter offer is made, the original offer stands: (a) Rejected (b) Accepted automatically (c) Accepted subject to certain modifications and variations (d) None of the above
In case of unenforceable contract having some technical defect, parties (a) Can sue upon it (b) Cannot sue upon it (c) Should consider it to be illegal (d) None of the above
If entire specified goods is perished before entering into contract of sale, the contract is (a) Valid (b) Void (c) Voidable (d) Cancelled
______________ contracts are also caled contracts with executed consideration. (a) Unilateral (b) Completed (c) Bilateral (d) Executory
A offers B to supply books @ Rs 100 each but B accepts the same with condition of 10% discount. This is a case of (a) Counter Offer (b) Cross Offer (c) Specific Offer (d) General Offer
_____________ is a game of chance. (a) Conditional Contract (b) Contingent Contract (c) Wagering Contract (d) Quasi Contract
There is no binding contract in case of _______ as one's offer cannot be constructed as acceptance (a) Cross Offer (b) Standing Offer (c) Counter Offer (d) Special Offer
An offer is made with an intention to have negotiation from other party. This type of offer is: (a) Invitation to offer (b) Valid offer (c) Voidable (d) None of the above
When an offer is made to the world at large, it is ____________ offer. (a) Counter (b) Special (c) General (d) None of the above
Implied contract even if not in writing or express words is perfectly _______________ if all the conditions are satisfied:- (a) Void (b) Voidable (c) Valid (d) Illegal
A specific offer can be accepted by ___________. (a) Any person (b) Any friend to offeror (c) The person to whom it is made (d) Any friend of offeree
An agreement toput a fire on a person's car is a ______: (a) Legal (b) Voidable (c) Valid (d) Illegal
Cache = 0.046875 Seconds