问题:功能应该有原型 [英] problem: function should have a prototype

查看:96
本文介绍了问题:功能应该有原型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有问题。函数应该有一个proto类型。任何身体帮助我..

I have a problem. function should have a proto type. any body help me..

展开 | 选择 | Wrap | < span class =codeLinkonclick =LineNumbers(this);>行号

推荐答案

第12行,应该是strrev而不是streev。
line 12, should be strrev instead of streev.


这不会导致错误消息,但第3行应该是:
This didn''t cause the error message, but line 3 should be:
展开 | < span class =codeLinkonclick =selectAll(this);>选择 | Wrap | 行号


这里反向字符串的函数是strrev()

和你使用的streev()在库中没有定义of c


strrev()的语法是


strrev(字符串);

正确的代码如下
Here function to reverse string is strrev()
and u used streev() which is not defined in libraries of c

Syntax of strrev() is

strrev(string);
Correct code is as follows
展开 | 选择 | Wrap | 行号


这篇关于问题:功能应该有原型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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