Advertisement
STANAANDREY

args + struct c

Oct 3rd, 2022
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.21 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. typedef struct {
  5.   struct Node *nxt;
  6. } Node;
  7.  
  8. int main(int argc, char **argv) {
  9.  
  10.   for (int i = 0; i < argc; i++)
  11.     puts(argv[i]);
  12.  
  13.   return EXIT_SUCCESS;
  14. }
  15.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement