Skip to content

kasenoshi/c-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

c-playground

leetcode.com

solution to the quiz on leetcode.com

hackerrank.com

solution to the quiz on hackerrank.com

a playground for learning c

  • hello.c
    • hello world
  • test_inc.c
    • i++ vs ++i
  • longest_line.c
    • K&R P.33 example
  • interview_1.c
    • undefined i
  • interview_2.c
    • printf calculate arguments from right to left
  • interview_3.c
    • typecast pointer will not change the value it points to
  • interview_4.c
    • char type will become 16bits in register
  • interview_7.cpp
    • default copy constructor do shallow copy
  • interview_8.cpp
    • declare class object with no argument
  • interview_9.cpp
    • order of member initialize list
  • interview_10.cpp
    • implicitly construct
  • interview_11.cpp
    • integer v.s. double
  • interview_11.cpp
    • logical right shift vs. arithmetic right shift
  • linked_list.cc
    • linked list
  • range_rand.cc
    • range rand
  • polymorphism.cc
    • polymorphism
  • strcmp.c
    • string compare

About

a playground for learning c

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published