外企IOS笔试题目!
1、用预处理#define声明常数,以表明一年多少秒
2、写一个“标准”宏MIN,此宏输入2个参数并返回较小的一个
3、obj-c有无多重继承? 如何实现之
4、@protocol解释 作用
5、代理、通知的区别? 哪里使用
代码:
1、Define a node structure for a single linke list,as saving the mode can only hold single int value
Implement the list insertion function define as void Insert(ref Node headNode,int insertValue),Assuming the list is in ascending order and it hold single int value only,where headNode points to the begining of the list,and insertValue is the int value to insert?