Commit Graph

182 Commits (6dfe1eecde0513e034d8237e0dfecf9af46a0d99)

Author SHA1 Message Date
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
Tammy Lee 18b053378d Added about statically vs dynamically allocated (#31555) 2019-01-05 10:16:47 -07:00
pcsingh cf06cd9ad9 Update index.md (#31403) 2019-01-05 10:15:47 -07:00
athreya2013 a8801255c0 Information regarding pointers in array (#30573)
* Information regarding pointers in array

Added more Information in 2D arrays that we can declare the array without no_of_rows and usage of pointers in array element accessing

* fix: formatting/spelling

* fix: formatting, matched variable name to other examples
2019-01-05 09:44:52 -07:00
Papun Charan d0879e5f59 Added a 'Note' and another section (#30547)
The note tells about what kind of datatype can be used in array, and in another section the difference between initialization of character array and string is discussed.
2019-01-05 09:30:51 -07:00
kichukiran97 d50c344772 Typo (#29638)
ints was there which will make confusion
2019-01-05 09:05:51 -07:00
YenruoY 527a1fd177 Added missing semicolon (#29437) 2019-01-05 08:59:54 -07:00
Tanmoy Sarkar e411dc3dc5 Simplified index.md (#29285)
Simplified the logic of nested loops of pattern printing.
2019-01-05 08:59:13 -07:00
samujjal1618 96c481057e Typo fixes and improving explanation (#25424)
*Spelling Hello, World! consistently everywhere. 
*Improved explanation and some typo fixes.
2019-01-03 19:11:02 -08:00
Candice Beaman 93c2b68026 Added Source Code, cleaned up... (#26314)
got rid of duplicate Linker def and put in ABC order
2019-01-03 09:36:22 -05:00
owlhoo 8a21fe58f1 Update index.md (#26416) 2019-01-02 11:14:33 -05:00
muskaangupta15 3cee0f4afb Update index.md (#27111) 2018-12-31 09:57:20 -07:00
owlhoo 07ae8e2985 Update index.md (#26435) 2018-12-31 09:54:49 -07:00
Ritaban Datta ff93803254 Updated review in index.md (#32503)
Added a point in Review
2018-12-26 11:35:45 -07:00
Anutosh1 56199a5511 arrays and strings (#32030)
* arrays and strings

* fix: spelling and removed unnecessary fragment
2018-12-26 11:31:05 -07:00
Tzupy f809383489 Added an initialization example with empty curly braces (#30973) 2018-12-26 11:09:36 -07:00
Xiaojie(Aaron) Li 65fc276113 fixed grammar mistakes (#30510) 2018-12-26 11:02:39 -07:00
nightsurfer7 3e99f0cf25 Removed an unnecessary comma. (#29473) 2018-12-26 11:01:06 -07:00
philippG777 514409badf Rework the arrays and strings guide for C (#29444)
* Use code blocks instead of plain text

* Fix manual implementation of strlen

* Fix array-declaration in code snippets
2018-12-26 11:00:19 -07:00
Briana Cowles 5400a1da8c added documentation for strncpy (#27565)
* added documentation for strncpy

* fix: formatting
2018-12-26 10:12:22 -07:00
ishan-sriv 6656ac26ba Add line 159 (regarding stricmp) to the article (#27032) 2018-12-26 09:34:52 -07:00
blank10032 946f53b8a0 Added another example using nested if statements (#24197) 2018-12-23 15:35:11 -07:00
Daniel 050b30dfed Corrected minimum value of a long long in C Guide (#25576)
Under the "Even longer integers: 'long long'" section of the "Data Types in C" article of the C Guide, the minimum value stored was listed as -9,223,372,036,854,775,807.  This was corrected to -9,223,372,036,854,775,808.
2018-12-21 22:05:19 -05:00