Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Str_ptr_arg
//gcc 5.4.0 #include <stdio.h> int c; typedef struct { int a; int b; }str_samp; str_samp sample; int func(str_samp *aptr,int r) { aptr->a=60; return(r); } int main(void) { sample.a=50; sample.b=100; c=func(&sample,20); printf("a=%d, b=%d, c=%d", sample.a,sample.b,c); return 0; }
run
|
edit
|
history
|
help
0
z is 7
arrays vowles printing
formatting_input_and_output
QuestResp
Lab 8 part 2 v.06
void *
cstructCricPoint
1.3 Max threads
prime or not
mypro