Skip to content

Instantly share code, notes, and snippets.

@YKV
Created June 27, 2016 22:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YKV/c45016e83b8b31b6f854e84e9670196e to your computer and use it in GitHub Desktop.
Save YKV/c45016e83b8b31b6f854e84e9670196e to your computer and use it in GitHub Desktop.
Readings & Questions
Q1
Explain a scenario when you would fork a project vs. create a branch of a project
To protect the main project from malicious attacks from other contributors Fork feature is the best help for the company.
With Fork feature the vendor can check the entire code of contributor and will be able to accept it or not.
Q2
What is the difference between fgets and scanf
fgets can read from any file, when scanf can only reads standard input
Q3
What is the difference between a C string and an NSString
String in C is basically an array of characters when NSString is object.
Q4
What does CLI stand for?
Command line interface
Q5
In NSDate *currentDate = [[NSDate alloc] init]:
What is the * represent and why is is necessary?
*it pointer to the memory address of the object
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment