Can we add two numbers using pointers but without using any variable like a,b? I mean, generally, we take two variables and store it in pointer... but is it possible to the numbers without taking variable or can we take pointer variable?
-
1Please specify the language and any code that you may have tried.rohitt– rohitt2021-02-18 15:19:46 +00:00Commented Feb 18, 2021 at 15:19
-
The values are actually stored in memory. The variables are names given to that memory. Pointers are variables that store addresses of those memory, usually in the case of dynamic memory allocationrohitt– rohitt2021-02-18 15:23:04 +00:00Commented Feb 18, 2021 at 15:23
-
actually i'm trying it in C languageVikash kumar– Vikash kumar2021-02-21 15:55:37 +00:00Commented Feb 21, 2021 at 15:55
Add a comment
|