Run Code
|
API
|
Code Wall
|
Users
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
PointTeleBook
//gcc 7.4.0 //PointTeleBook //this code is created by Rezaul Hoque on March 26,2022;contact: jewelmrh@yahoo.com,Dhaka, Bangladesh //note: codes shared by Rezaul Hoque on rextester are not for sale; they are created and shared to facilitate the algorithm learning process; many like Hoque use this platform to practice programming ;Rezaul hopes his contribution helps others to fine tune their learning; #include <stdio.h> #include <stdlib.h> #include <string.h> struct tele{ char name[80]; int num; }; struct tele* f1(); void f2(struct tele* t); struct tele* f1(){ struct tele tel,*t; t=&tel; printf("Enter name and number: \n"); scanf("%s",t->name); scanf("%d",&t->num); return t; } void f2(struct tele* t){ struct tele tel; t=&tel; printf("name phone number \n"); printf("%s %d",t->name,t->num); } int main() { struct tele* ad; ad=f1(); f2(ad); return 0; }
run
|
edit
|
history
|
help
0
Please
log in
to post a comment.
PRACTICE 1
T3.C
Lab 7 blackjack v0.6
a>=0 && b>=a
polymorphism simulation in plain C with a simple structures
Project 3 Part 1 v1.6
than mine time's ocean as real white shakedown marine is mistake
th
Basic String Compression in C
Pozdravljeni v mali soli C.
Please log in to post a comment.