Embedded System Engineer Interview

Embedded System Engineer Interview

● Can structures be passed to the functions by value?
● Why cannot arrays be passed by values to functions?
● Advantages and disadvantages of using macro and inline functions?
● What happens when recursion functions are declared inline?
● Scope of static variables?
● Difference between object oriented and object based languages?
● Multiple inheritance - objects contain howmany multiply inherited ancestor?
● What are the 4 different types of inheritance relationship?
● How would you find out the no of instance of a class?
● Is java a pure object oriented language? Why?
● Order of constructor and destructor call in case of multiple inheritance?
● Can u have inline virtual functions in a class?
● When you inherit a class using private keyword which members of base class are visible to the derived class? ● What is the output of printf("\nab\bcd\ref"); -> ef
● #define cat(x,y) x##y concatenates x to y. But cat(cat(1,2),3) does not expand but gives preprocessor warning. Why?
● Can you have constant volatile variable? Yes, you can have a volatile pointer?
● ++*ip increments what? it increments what ip points to
● Operations involving unsigned and signed – unsigned will be converted to signed
● a+++b -> (a++)+b
● malloc(sizeof(0)) will return – valid pointer
● main() {fork();fork();fork();printf("hello world"); } – will print 8 times.
● Array of pts to functions – void (*fptr[10])()
● Which way of writing infinite loops is more efficient than others? there are 3ways.
● # error – what it does?
● How is function itoa() written?
● Who to know wether systemuses big endian or little endian format and how to convert among them?
● What is interrupt latency?
● What is forward reference w.r.t. pointers in c?
● How is generic list manipulation function written which accepts elements of any kind?
● What is the difference between hard real-time and soft real-time OS?
● What is interrupt latency? How can you recuce it?
● What is the differnce between embedded systems and the system in which rtos is running?
● How can you define a structure with bit field members?
● What are the features different in pSOS and vxWorks?
● How do you write a function which takes 2 arguments - a byte and a field in the byte and returns the value of the field in that byte?
● What are the different storage classes in C?
● What are the different qualifiers in C?
● What are the different BSD and SVR4 communication mechanisms

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值