嵌入式系統面試題ZZ

來源:互聯網
上載者:User
嵌入式系統面試題ZZ
shury 發表於 2004-12-5 17:52:00

  1. Can structures be passed to the functions by value?
  2. Why cannot arrays be passed by values to functions?
  3. Advantages and disadvantages of using macro and inline functions?

     

  4. What happens when recursion functions are declared inline?
  5. Scope of static variables?
  6. Difference between object oriented and object based languages?
  7. Multiple inheritance - objects contain howmany multiply inherited ancestor?
  8. What are the 4 different types of inheritance relationship?
  9. How would you find out the no of instance of a class?
  10. Is java a pure object oriented language? Why?
  11. Order of constructor and destructor call in case of multiple inheritance?
  12. Can u have inline virtual functions in a class?
  13. When you inherit a class using private keyword which members of base class are visible to the derived class?
  14. What is the output of printf("/nab/bcd/ref"); -> ef
  15. #define cat(x,y) x##y concatenates x to y. But cat(cat(1,2),3) does not expand but gives preprocessor warning. Why?
  16. Can you have constant volatile variable? Yes, you can have a volatile pointer?
  17. ++*ip increments what? it increments what ip points to
  18. Operations involving unsigned and signed – unsigned will be converted to signed
  19. a+++b -> (a++)+b
  20. malloc(sizeof(0)) will return – valid pointer
  21. main() {fork();fork();fork();printf("hello world"); } – will print 8 times.
  22. Array of pts to functions – void (*fptr[10])()
  23. Which way of writing infinite loops is more efficient than others? there are 3ways.
  24. # error – what it does?
  25. How is function itoa() written?
  26. Who to know wether systemuses big endian or little endian format and how to convert among them?
  27. What is interrupt latency?
  28. What is forward reference w.r.t. pointers in c?
  29. How is generic list manipulation function written which accepts elements of any kind?
  30. What is the difference between hard real-time and soft real-time OS?
  31. What is interrupt latency? How can you recuce it?
  32. What is the differnce between embedded systems and the system in which rtos is running?
  33. How can you define a structure with bit field members?
  34. What are the features different in pSOS and vxWorks?
  35. 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?
  36. What are the different storage classes in C?
  37. What are the different qualifiers in C?
  38. What are the different BSD and SVR4 communication mechanisms

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.