codepad
[
create a new paste
]
login
|
about
Language:
C
C++
D
Haskell
Lua
OCaml
PHP
Perl
Plain Text
Python
Ruby
Scheme
Tcl
#include <stdio.h> struct Car { char manufacturer[20]; char colour[5]; struct Person { char name[5]; } owner; }; int main() { struct Car vechile; strcpy(vechile.manufacturer, "Mercedes"); strcpy(vechile.colour, "Black"); strcpy(vechile.owner.name, "Jere"); printf ("Car's present owner: %s", vechile.owner.name); return (0); }
Private
[
?
]
Run code
Submit