双指针
-
双指针(指向指针)在C语言中
指针用于存储变量的地址。因此,当我们定义一个指针到指针时,第一个指针用于存储第二个指针的地址。因此它被称为双指针。 算法 Begin Declare v of the integer datatype. Initialize v = 76. Declare a pointer p1 of the i…
指针用于存储变量的地址。因此,当我们定义一个指针到指针时,第一个指针用于存储第二个指针的地址。因此它被称为双指针。 算法 Begin Declare v of the integer datatype. Initialize v = 76. Declare a pointer p1 of the i…