Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // main.cpp
- // C8
- //
- // Created by Betsalel Williamson on 10/16/11.
- // Copyright 2011 __MyCompanyName__. All rights reserved.
- //
- #include <stdio.h>
- #include <string.h>
- int main (int argc, const char * argv[])
- {
- const char *article[ 5 ] = { "the", "one", "a", "some", "any" };
- const char *noun[ 5 ] = {"boy", "girl", "dog", "town", "car" };
- const char *verb[ 5 ] = { "drove", "jumped", "walked", "ran", "skipped"};
- const char *preposition[ 5 ] = { "to", "from", "over", "under", "on"};
- //article noun verb preposition article noun
- const char *sentince [ 6 ] = { *article, *noun, *verb, *preposition, *article, *noun };
- printf("%s", *sentince);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement