Fill in the blanks to print "it works!" on the screen, type in the function prototype before its call. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Fill in the blanks to print "it works!" on the screen, type in the function prototype before its call.

void (); int main() { some_func(); return 0; } some_func() { cout << "it works!" << endl;

19th Nov 2016, 1:06 AM
Johann Velazquez
Johann Velazquez - avatar
11 Answers
+ 5
#include <iostream> using namespace std; void some_func(); int main() { some_func(); return 0; } void some_func() { cout << "it works!" << endl; }
19th Nov 2016, 1:17 AM
scott johnson
scott johnson - avatar
0
void some_func (); int main() { some_func(); return 0; } void some_func() { cout << "it works!" << endl; }
18th Mar 2018, 5:54 PM
Mahnoor Shahzad
Mahnoor Shahzad - avatar
0
A014339270
21st Nov 2018, 6:34 AM
Satyajit Apet
Satyajit Apet - avatar
0
answear is some_func and void. God Jesus Bless.
12th Jan 2020, 3:38 PM
Imanuel Wicaksono
Imanuel Wicaksono - avatar
0
union passport { int id_num; char text[20]; }; void show( union passport p) { printf("ID is %d", p .id_num); }
24th May 2020, 11:02 AM
V.SATHYA
V.SATHYA - avatar
0
Fill in the blanks to declare a function taking a union parameter and printing the value of the id_num member. union passport { int id_num; char text[20]; }; void show( union passport p) { printf("ID is %d", p .id_num); }
28th Jun 2020, 7:08 PM
Frederick John Suerte
Frederick John Suerte - avatar
0
function myFunction($a, $b) { echo $a * $b; }
31st Jul 2020, 1:42 PM
Pham Phu Quoc
0
Fill in the blanks to print "it works!" on the screen, type in the function prototype before its call. Answer: void (); int main() { some_func(); return 0; }
16th Sep 2020, 11:34 PM
OjeifoIduma
0
some_func & void
30th Aug 2021, 12:03 PM
Don Tharindu Prashan
Don Tharindu Prashan - avatar
0
this mem
9th Feb 2022, 9:17 AM
michael mitiku
michael mitiku - avatar
- 1
Fill in the blanks to declare a function myFunction, taking two parameters and printing the product of their multiplication to the screen.
3rd Jun 2018, 10:37 AM
abdelbaki boutaiba
abdelbaki boutaiba - avatar