forked from malep2007/C-Programming-Assignment
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathquestion2.txt
More file actions
32 lines (24 loc) · 773 Bytes
/
question2.txt
File metadata and controls
32 lines (24 loc) · 773 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//part a
#include <stdio.h>
float do_it(char x,char y,char z);
int main(){
return 0;
}
/* part b*/
#include <stdio.h>
void print_a_number(int a);
int main (){
return 0;
}
/* part c*/
#include <stdio.h>
void print_msg( void );
main(){
print_msg("This is a message to print");// the function here is not known
return 0;
}
void print_msq( void )
{
puts("This is a message to print");
return 0; //a void function returns nothing
}