pls help with this question. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

pls help with this question.

Fill in the blanks to declare a pointer to the num variable and double its value via the pointer. int num = 42; int __ ptr = __num; __ptr *= 2;

2nd Mar 2021, 4:50 PM
Princi Mittal
Princi Mittal - avatar
10 Answers
+ 5
* & *
8th Jan 2022, 7:57 AM
Yasitha Samuditha
+ 3
int num=42; int*ptr=& num; *ptr *=2;
13th Jul 2022, 6:29 PM
P.G.P.Perera
+ 3
Fill in the blanks to declare a pointer to the num variable and double its value via the pointer. int num = 42; int __* ptr = __# _*_ptr *= 2;
6th Jan 2023, 3:28 PM
Hashini Rathnayake
+ 2
S
16th Sep 2022, 12:41 PM
ooha
0
* & *
5th Sep 2023, 1:00 PM
avvaru tejaswini
avvaru tejaswini - avatar
0
* &
27th Sep 2023, 10:11 AM
Vengala Srinivasula Reddy
Vengala Srinivasula Reddy - avatar
0
int num = 42; void*ptr = # printf("%d", *((int *)ptr)); The Perfect Answer For That
1st Apr 2024, 4:00 PM
Yellanki Anil Kumar
Yellanki Anil Kumar - avatar
- 2
thank you so much :)
4th Mar 2021, 3:39 AM
Princi Mittal
Princi Mittal - avatar
- 3
int num=42; int*ptr=# *ptr *=2;
31st May 2021, 8:04 AM
Shreya
Shreya - avatar
- 5
int *ptr=# *ptr*=2;
2nd Sep 2021, 6:18 PM
MD TAUSIF
MD TAUSIF - avatar