how to make a empty function | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

how to make a empty function

hw need to make empty function on main(), but do not know how to make it.. plz help me

10th Sep 2016, 8:16 AM
micko4521
micko4521 - avatar
3 Réponses
+ 1
#include <iostream> using namespace std; void empty(void) { } int main() { empty(); return 0; }
10th Sep 2016, 9:26 AM
Zen
Zen - avatar
+ 1
No use, but maybe he needed a function template or something like that.
10th Sep 2016, 11:36 AM
Zen
Zen - avatar
0
what is the use of empty function?
10th Sep 2016, 9:28 AM
Parul
Parul - avatar