What is the use of * in c programming | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is the use of * in c programming

Int x; Char text [20]; scanf("%*f",&x); Printf("%d",x);

23rd Apr 2021, 1:50 AM
Melu
Melu - avatar
4 Answers
+ 5
In scanf(), an asterisk means that the specified input is read but not assigned to any memory location.
23rd Apr 2021, 2:26 AM
Calvin Thomas
Calvin Thomas - avatar
+ 1
Please define it
23rd Apr 2021, 11:44 PM
Melu
Melu - avatar
+ 1
Ok bro tnx 🤗
24th Apr 2021, 11:30 PM
Melu
Melu - avatar
0
Melu I had already defined it. What am I missing?
24th Apr 2021, 2:32 AM
Calvin Thomas
Calvin Thomas - avatar