这是什么C语句,怎么办? [英] What does this C statement do?

查看:146
本文介绍了这是什么C语句,怎么办?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

伙计们,我的教授已指派我们涉及与数组,指针和函数输入一个任务。现在,你跳我与整个背部前,我们不会做你的功课你的事情,回答我的问题就不会解决问题。事实上,我已经在回答了我最好的猜测。我只是好奇,听听你想想这一点。

Folks, my professor has assigned us an assignment involving typing with arrays, pointers, and functions. Now, before you jump on my back with the whole "We aren't going to do your homework for you" thing, the answer to my question will not solve the problem. In fact, I've already taken my best guess at the answer. I am just curious to hear what you think about this.

下面是我得到的C语句:

Here is the C statement I was given:

double(*foo(double(*)(double,double[]),double))(double, ...);

我们的问题涉及描述foo的类型。我的问题很简单:这究竟是什么这个说法吗?至于我能读懂它,这是我见过code最混淆和不现实线任何一个,或者它实际上不是有效的C.让我知道你在想什么。

Our problem involved describing the type of foo. My question is simply this: What on earth does this statement do? As far as I can read it, this is either one of the most obfuscated and unrealistic lines of code I've ever seen, or it's not actually valid C. Let me know what you think.

推荐答案

您想学什么的顺时针螺旋规则。学习这将有助于你的描述,在平淡的话,有什么任何类型的C是。学好它。

What you want to learn is the Clockwise Spiral Rule. Learning this will help you describe, in plain words, what any type in C is. Learn it well.

这篇关于这是什么C语句,怎么办?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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