0

Why there is two times 10%% ???

25th Dec 2018, 7:03 PM
Prateek Bhardwaj
6 Respostas
+ 1
Hey there! Could you please share the code/question you’re talking about?
25th Dec 2018, 7:12 PM
Diego
Diego - avatar
+ 1
% is a special sign, a placeholder, to 'copypaste' variables into a string, for example: int n = 5; printf("%d", n); Sometimes, though, you want to write a %. Then you need to write the sign two times.
25th Dec 2018, 7:27 PM
HonFu
HonFu - avatar
+ 1
Thank you 😊
25th Dec 2018, 7:31 PM
Prateek Bhardwaj
0
C language
25th Dec 2018, 7:10 PM
Prateek Bhardwaj
0
Printf("Top 10%%. \n") And the output is 10%
25th Dec 2018, 7:20 PM
Prateek Bhardwaj
0
There if and else statement....and the code I have written is in if condition
25th Dec 2018, 7:26 PM
Prateek Bhardwaj