+ 4

i think it is too bad question 😟

Can we use float or double in the place of int in int_main() or in void_main() ?

21st Nov 2020, 4:00 AM
Ankit Nainwal
Ankit Nainwal - avatar
5 Réponses
+ 6
It's against the standard.
22nd Nov 2020, 11:22 AM
Sonic
Sonic - avatar
+ 1
Check it in the codebox. Trying is the best policy to learn new things.
21st Nov 2020, 4:02 AM
Tawhidul Islam Fahim
Tawhidul Islam Fahim - avatar
+ 1
hyee In sololearn I found that 1. void is working with return0 2. it is fine using any of long, float, double to use instead of int before main() 3. it is not taking < conio.h > These are only for Sololearn.
21st Nov 2020, 4:17 AM
Ankit Nainwal
Ankit Nainwal - avatar
0
i tried but it is not working
21st Nov 2020, 4:05 AM
Ankit Nainwal
Ankit Nainwal - avatar
0
Never
21st Nov 2020, 9:25 PM
Emmy