Jonathan Villegas
cce94b12e0
Added reminder to include libraries in files. ( #28218 )
2019-04-05 11:39:56 -07:00
nlather
499cce2e1a
added reference links ( #27387 )
...
* added reference links
* Update index.md
2019-04-03 14:10:12 +05:30
Jacob Kim
7a644820d0
Added declaration of malloc ( #31439 )
...
* Added declaration of malloc
* Updated synopsis of malloc function
2019-04-01 16:19:55 -07:00
Jay Patel
46ae11f958
mallo() vs calloc() ( #30669 )
2019-04-01 11:30:39 -07:00
Oliver Eyton-Williams
73277d8ba8
fix: Restore missing emojis and fix broken links ( #35703 )
...
* fix: Restore missing emojis and fix broken links
* fix: Remove emojis to conform with style guide
* fix: Remove the last emoticons
2019-03-29 12:52:56 -07:00
cindydhy
aa302cd5e5
Fixed formatting issues. ( #35137 )
2019-03-26 19:56:50 +05:30
aniltirli
a70b243ea2
Comment addition for "break" ( #33714 )
2019-03-26 19:55:39 +05:30
Morgan McLain-Smith
c05b6f78ae
Proofreading on C file-handling ( #33065 )
2019-03-23 16:29:22 -07:00
Christian Coffey
b13c10c6d0
Refined the explanation of pointers & their syntax ( #30606 )
...
Made some changes to make the declaration of pointers and how they are used more easily understood. Additionally modified the explanation regarding the '&' dereferencing operator.
2019-03-20 12:32:19 -04:00
Papun Charan
88f0996a4f
Added 'Pointer to pointer' section ( #32819 )
...
* Added 'Pointer to pointer' section
The 'Pointer to pointer' section describe what is pointer to pointer with an example.
* Update index.md
Changed Output header to ####
2019-03-20 12:25:09 -04:00
Parul-Seth
4231d9e112
update text ( #31958 )
...
nested IF syntax and example
2019-03-12 12:40:32 -07:00
cindydhy
708f951f8e
Reformatted some example programs for consistency ( #35139 )
2019-03-11 08:56:22 -07:00
Meghan Westvig
1ef8270608
Fixing spelling errors ( #27194 )
2019-02-23 21:35:00 -08:00
Javed Mohamed
01b8030bbe
Improve C dynamic memory guide ( #23849 )
...
- Fix many errors and facts to be more accurate.
- Add more examples and cover all four commonly used functions.
- Rewrite parts to be more clear.
- Add some useful notes and warnings ... memory allocation is error prone!
2019-02-23 21:18:22 -08:00
Papun Charan
853311c57a
Added 'difference between macros and functions'part ( #32372 )
...
I have explained the basic differences between macros and functions.
2019-02-20 01:05:00 -05:00
Juan D Frias
f2b3e2091a
Minor code corrections and text clarification ( #30123 )
2019-02-20 00:11:11 -05:00
Connor
2424f7892b
Small edits ( #29888 )
2019-02-19 23:24:41 -05:00
N-Gohel
f70bf00b7e
added two helpful tips ( #26949 )
...
* added two helpful tips
* Grammar cleanup and formatting changes
2019-02-14 23:55:37 -05:00
Shubhamjainagrawal
0be5360a93
described return 0. ( #32117 )
...
described use of return 0 in function.
2019-02-13 20:46:36 -06:00
Shubhamjainagrawal
58e10048a6
Explained int main() ( #32051 )
...
Return value of main function explained
2019-02-13 20:26:42 -06:00
AKASH JAIN
ed816b8266
Extra information ( #31621 )
2019-02-13 20:02:05 -06:00
Juan D Frias
7d30fdbe3a
Formating changes and clarified text. ( #30093 )
2019-02-13 17:15:01 -06:00
Papun Charan
fc8261d625
Corrected a misspelled a word and added the return ( #30091 )
...
The "printf()" was misspelled as "print()", so i corrected that and also added the part which describes what does printf() return,, and also added a sample code to clear the concept.
2019-02-13 09:37:16 -06:00
Dylan Rainwater
13115bfb4e
Add block comment example and remove whitespace ( #28816 )
...
* Add block comment example and remove whitespace
* fix: capitalized string to match output
* fix: removed >
2019-02-11 21:48:16 +05:30
Briana Cowles
510654c040
Created documentation of calloc ( #27558 )
...
* Created documentation of calloc
this file used influence from other files in the c docs for consistency
* Rename calloc to calloc.md
* Rename guide/english/c/calloc.md to guide/english/c/calloc/index.md
2019-02-10 17:22:55 -08:00
Koustav Chowdhury
d48da61e24
Add an interesting application of passing pointers to functions ( #23831 )
...
* Update index.md
* fix: added line break
2019-02-10 10:30:03 -08:00
Amulya Gaur
2f57c6131c
added types of sockets and their comparison ( #30893 )
...
Added information about TCP and UDP protocols and their corresponding sockets ie. stream and datagram sockets.
Comparison is also added.
2019-01-30 14:22:50 -08:00
Briana Cowles
c6d4a54a7d
small grammar changes ( #27575 )
2019-01-30 14:05:31 -08:00
squidnerd
3ff24a2a84
Corrected typos, grammar ( #27201 )
...
Fixed some spelling, capitalization, and punctuation errors and did minor edits for clarity
2019-01-30 13:54:35 -08:00
P Karthik Chowdary
3b5b0e22a7
Added a conditional note on application of break and continue ( #33298 )
2019-01-29 12:14:56 -07:00
Kaustubh J
c731321661
Update index.md ( #32520 )
...
Added few more points for Switch vs If-else
2019-01-29 11:19:49 -07:00
Rohan Jha
1edffae901
Grammatical Correction ( #32446 )
...
Made a small grammatical correction in line 64
2019-01-29 10:16:21 -07:00
athreya2013
aec38c04d7
Made the comment more clear ( #30524 )
...
Added clarity to the given comment
2019-01-29 09:10:58 -07:00
Nikhat Zaidi
48313a48a6
Case can only be constant ( #30360 )
...
case can be defined by a constant not by variable
2019-01-29 09:10:02 -07:00
Kirk Manegold
4e2ff2b0bd
Updated switch-case fall through ( #29744 )
...
Added an example
2019-01-29 09:07:56 -07:00
Morgan McLain-Smith
c036904e86
simplified ternary operator article ( #33077 )
2019-01-15 15:43:30 -06:00
Daniel
f31d345e20
Fixed misspelling and capitalization in C Guide ( #29966 )
...
This commit fixes a misspelling in the reference to 'Some shiny things' and capitalizes the 'W in 'We can also write the program in the manner below:'
2019-01-15 15:16:52 -06:00
Briana Cowles
316733ce2a
small grammar changes ( #27561 )
...
for clarification
2019-01-15 15:08:04 -06:00
Ajith Menon
b8880d685c
corrected spelling ( #30261 )
2019-01-15 15:05:26 -06:00
Tzupy
db82a53408
Fixed a compilation error and some spelling mistakes ( #30984 )
2019-01-15 15:03:52 -06:00
kichukiran97
844554aab9
typo ( #29647 )
2019-01-15 14:42:22 -06:00
Taiyue Tan
5831dc657a
fixed spelling errors, added more information ( #28297 )
...
- logic changes
- explanations on different statements
2019-01-15 14:34:17 -06:00
Meghan Westvig
74de20f3cf
Fixing spelling errors ( #27199 )
2019-01-15 14:21:02 -06:00
Rajiv Ranjan Singh
d0a534537c
Update index.md ( #34846 )
2019-01-15 14:19:09 -06:00
MelodyMale
1add8e9067
Edit "sizeof()" into italic style in line 51 ( #26870 )
2019-01-10 21:16:36 -05:00
punit78
8f9d26c4ad
Deleted " ++number statement from Floyd's Triangle " ( #30858 )
...
added "number++" within the printf()
2019-01-08 12:11:10 -07:00
Tanmoy Sarkar
863fd135ea
Corrected Syntax index.md ( #29260 )
...
There was a syntax error - missing ';'
2019-01-08 10:53:27 -07:00
Ayush Shrivastav
4745843717
Update index.md ( #28530 )
...
Updated Loop Description
2019-01-08 10:52:26 -07:00
shahiarpit
aff166ba45
Updated index.md ( #28498 )
...
Corrected few mistakes.
2019-01-08 10:09:21 -07:00
blankaex
7933d6fa3a
Added a section on optimistic indentation ( #24185 )
2019-01-08 09:45:19 -07:00