使用指针在Turbo C中进行编程 [英] programming in turbo c using pointers

查看:111
本文介绍了使用指针在Turbo C中进行编程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在C语言中添加两个不同的指针?
请给我建议..

how to add two different pointers in c language?
please gave me the suggestions..

推荐答案

指针被称为内存中的位置.毫无意义地对其进行添加或任何算术运算.
Pointers are referred as locations in memory. There is no meaning of adding or any arithmetic operation on it.


如前所述,不能添加指针.它们是内存位置.

此链接
[ ^ ]会为您解释
As already said, pointers cannot be added. They are memory locations.

This link
[^] would explain you more - similar thing discussed with an example.


我们可以添加一个指针,因为指针是一个变量,它存储了变量的地址.所以我们可以添加两个指针
we canot add a pointer,becuse pointer is a variable it stores the adress of a variable.so we canot add two pointers


这篇关于使用指针在Turbo C中进行编程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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