在C的技术面试中可以提出什么类型的问题 [英] What type of questions can be asked in an technical interview of C

查看:56
本文介绍了在C的技术面试中可以提出什么类型的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Frinds,


希望每个人都做得很好。我觉得有人指出要成为C中最艰难的b $ b部分。我刚刚完成学习指针和放大器;阵列相关

部分。我需要参加C. wat类型的技术面试

问题应该是什么? C语言的哪一部分给员工

给予更多关注?

面试官刚刚提到......我将接受采访

C 。

也有人可以帮我找到我可以通过样品的网站

C程序吗?


感谢大家...

樱桃

解决方案

Cherrish Vaidiyan< un ************ ***@yahoo.com>潦草地写道:

Frinds,
希望每个人都做得很好。我觉得有人指出要成为C中最艰难的部分。我刚刚完成学习指针&阵列相关的部分。我需要参加关于C. wat类型的技术面试的问题应该是什么? C语言的哪一部分让员工更加关注?
采访者刚刚提到......我将接受采访
C.
任何人都可以帮助我我可以通过C中的样本程序去哪些地方吗?




这是不可能具体回答的,因为它需要阅读

公司的想法。但是我觉得你用指针

和数组开始了。可以出现的其他主题是函数(调用和

参数传递机制),类型系统和预处理器宏。

我能想到的最重要的规则是首先学习核心语言

,以及任何可能的特定于操作系统的API,如果有的话。知道

设置哪个标志以使X小部件变为紫色是没有用的,如果你

我不知道函数调用是如何工作的。


-

/ - Joona Palaste(pa*****@cc.helsinki.fi)-------------芬兰 - ------- \

\ - http://www.helsinki.fi/~palaste ---------------------规则! -------- /

这是一个人员通勤者。

- 科学美国人的火车司机

< br>

" Cherrish Vaidiyan" <未*************** @ yahoo.com>写在


我需要参加C. wat类型的技术面试
问题应该是什么?



看看你是否可以回答这些。


有什么问题


1)

#define min(x,y) x<你? x:y


2)

char str [5] =" Hello" ;;


3)


for(i = 0; i< strlen(str); i ++)

if(str [i] ==''a'')

回答++;


4)

if(ch!=''。''|| ch!='',' ')


5)

char * foo(int x)

{

char buff [32];

sprintf(buff,"%d",x);

返回buff;

}



Malcolm< ma ***** @ 55bank.freeserve.co.uk>潦草地写下:

" Cherrish Vaidiyan" <未*************** @ yahoo.com>写在

我需要参加技术面试,关于C. wat类型的问题应该是什么?
看看你能不能回答这些问题。




有什么问题3)
for(i = 0; i< strlen(str); i ++)
if(str [i] ==''a'' )
回答++;




我是盲人还是什么?除了做更多不必要的工作(以及

这样减慢程序的速度),我发现这没有什么不妥。


-

/ - Joona Palaste(pa*****@cc.helsinki.fi)-------------芬兰-------- \

\ - http://www.helsinki.fi/~palaste ---------------------规则! -------- /

"''我'是世界上最美丽的词。"

- John Nordberg


Frinds,

Hope everyone is doing fine.i feel pointers to be the most toughest
part in C. i have just completed learning pointers & arrays related
portions. I need to attend technical interview on C. wat type of
questions should be expected? Which part of C language do the staff
give more concern?
The interviewers have just mentioned that .. i will have interview on
C.
Also can anyone can help me with sites where i can go thru sample
programs in C?

Thanking you all...
Cherry

解决方案

Cherrish Vaidiyan <un***************@yahoo.com> scribbled the following:

Frinds, Hope everyone is doing fine.i feel pointers to be the most toughest
part in C. i have just completed learning pointers & arrays related
portions. I need to attend technical interview on C. wat type of
questions should be expected? Which part of C language do the staff
give more concern?
The interviewers have just mentioned that .. i will have interview on
C.
Also can anyone can help me with sites where i can go thru sample
programs in C?



This is impossible to answer specifically, as it would require reading
the company''s mind. But I think you''re off to a good start with pointers
and arrays. Other topics that can come up are functions (calling and
parameter passing mechanisms), the type system, and preprocessor macros.
The most important rule I can think of is to learn the core language
first, and any possible OS-specific APIs second, if at all. Knowing
which flag to set to make the X widget turn purple is of no use if you
don''t know how function calls work.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"This is a personnel commuter."
- Train driver in Scientific American


"Cherrish Vaidiyan" <un***************@yahoo.com> wrote in


I need to attend technical interview on C. wat type of
questions should be expected?


See if you can answer these.

What is wrong with

1)
#define min(x, y) x < y ? x : y

2)
char str[5] = "Hello";

3)

for(i=0;i<strlen(str);i++)
if(str[i] == ''a'')
answer++;

4)
if( ch != ''.'' || ch != '','')

5)
char *foo(int x)
{
char buff[32];
sprintf(buff, "%d", x);
return buff;
}



Malcolm <ma*****@55bank.freeserve.co.uk> scribbled the following:

"Cherrish Vaidiyan" <un***************@yahoo.com> wrote in

I need to attend technical interview on C. wat type of
questions should be expected?
See if you can answer these.


What is wrong with 3) for(i=0;i<strlen(str);i++)
if(str[i] == ''a'')
answer++;



Am I blind or something? Other than doing more work than necessary (and
such slowing the program down) I can find nothing wrong with this.

--
/-- Joona Palaste (pa*****@cc.helsinki.fi) ------------- Finland --------\
\-- http://www.helsinki.fi/~palaste --------------------- rules! --------/
"''I'' is the most beautiful word in the world."
- John Nordberg


这篇关于在C的技术面试中可以提出什么类型的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆