Commit Graph

48 Commits (d4a1c0bb1ad704c3941986452318eeef09c370ad)

Author SHA1 Message Date
katiepillar6 c90dfd2f81 Return 0 (#21561)
Added return 0 statement to the end of the code, to ensure a properly compiling program.
2018-11-14 08:14:44 -07:00
kichukiran97 ed3c729071 Fixed typo (#25889) 2018-11-14 18:01:18 +05:30
Prashant Chand 5a99e02a87 Add the syntax "For infinite loop " (#21382)
* Add the syntax "For infinite loop "

* Shifted additions around to be less confusing
2018-11-13 19:24:02 -07:00
Miftah Mizwar 9e5b352a86 Update wrong output of the example of code (#22530) 2018-11-13 21:07:32 -05:00
Miftah Mizwar 8eb754d4eb Update wrong output of the example of code (#22519)
* [x]  I have read [freeCodeCamp's contribution guidelines](https://github.com/freeCodeCamp/freeCodeCamp/blob/master/CONTRIBUTING.md).
* [x]  My pull request has a descriptive title (not a vague title like `Update index.md`)
* [x]  My pull request targets the `master` branch of freeCodeCamp.
* [x]  None of my changes are plagiarized from another source without proper attribution.
* [x]  My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.

Closes #XXXXX
2018-11-13 01:36:14 -05:00
Vishal Kichloo 958c086a8e Added the disadvantage of the array. (#21379) 2018-11-12 15:33:42 -07:00
katiepillar6 640e1298b8 spaces and extra word (#21706)
Added spaces between sentences in first paragraph and removed an additional the in line 208
2018-11-11 00:25:37 -05:00
Brian dbc6c05166 Add example for ## A word on 'scope' (#21447) 2018-11-10 13:02:05 +00:00
Aditya Oberai 0363a40dcc Grammatical Edits (#22595) 2018-11-09 16:49:01 -05:00
Pawan Bangar 9372b49bb9 Add "Memory Allocation in Array" (#21234)
* Add "Memory Allocation in Array"

* fix: formatting, grammar and example

* fixed grammar, cleaned up table
2018-11-09 12:57:24 +05:30
Pawan Bangar 9e5d2baac1 ADD "Undefining Macro" (#21287)
* ADD "Undefining Macro"

we can undefine macro whenever we want in code by adding #undefine

* fix: markdown title format

* fix: minor grammar corrections

Capitalise first word and remove extra full stops
2018-11-08 19:22:35 +00:00
S.Hale 3920b7c4ce Corrected capitalization, corrected to American spellings and typos (#30685)
* Translate challenge subtitles and example challenge text to Spanish

* Corrected errors in syntax and punctuation

* Multiple corrections of it/s to its plus other grammar corrections

* Correction and added paragraph to CSS Flex article

* Corrected my own typo

* Corrected capitalization, American spellings and typos
2018-11-07 10:34:13 -05:00
arjundixit98 4f37069835 Adding lines and updation (#25081) 2018-11-06 19:35:57 +05:30
katiepillar6 90a417b331 Changed C++ to C (#21734)
Changed a reference to C++ to C.
2018-11-05 04:14:50 -05:00
jacheg 62bf5ad17d Changed the wording for the elements in an array. (#21729)
It was confusing before. Mentioned elements that didn't exist. Maybe meant indexes?
2018-11-05 04:13:33 -05:00
apurv22 b25fd77ed2 Changed 'method' to 'function' for relevancy. (#25037) 2018-11-05 13:45:07 +05:30
katiepillar6 1fa6cee420 changed a to b (#21770)
Changed (a) to (b) so it makes sense and reads logically.
2018-11-05 01:58:17 -05:00
jacheg dc09ca3e25 Updated typo and more info (#21787) 2018-11-04 20:59:47 -05:00
kenbhatt a674171714 My change is line 30. (#23571)
Printing hello, world correctly according to the code above given.
2018-11-04 13:18:04 -08:00
allenpbiju 6e42246d53 Added some info (#20123)
Some information has been added on how to define a function after the main program.
2018-11-03 21:14:27 -04:00
blankaex 528b7b413e Added missing spaces (#24171) 2018-11-02 14:43:29 +05:30
Bhuvan Singla 8230f82dd1 Add role of \n in explanation of the code (#20849) 2018-11-02 04:00:07 -04:00
Siddharth Shrivastav 8e843dc352 Add program in C to show variable (#20445) 2018-11-01 13:41:07 -04:00
Bennett Garner 538cab1134 Clarify concepts, rename a function (#20580) 2018-10-31 20:50:56 -07:00
Kirk Manegold e3afefd2a2 fix(guide): Add protocol information 2018-10-31 21:16:18 -04:00
Siddharth Shrivastav 8f4a27ae8a new information regarding hello world (#20263)
* new information regarding hello world 

 ## Extra
 * you know the first ever program you write was hello world program whether it be in any language.
 * It is because Brian Kernighan was the  first  to write "hello, world" program for the documentation of the BCPL programming language developed by Martin Richards.

* Fixed formatting and improved readability
2018-10-31 17:21:33 -05:00
akadidas b0df93cc26 Update index.md (#20535)
* Update index.md

Some improvisation and obvious corrections.

* fix: formatting
2018-10-30 22:23:54 -05:00
kenbhatt 48afcd0a3b Changes in lines 6 (#23612) 2018-10-29 15:44:29 -07:00
Pritom Hazarika 533adf6743 Update index.md (#21800)
* Update index.md 

Finding the bigger number using If Else

* Updated index.md

* Update index.md

* Update index.md
2018-10-29 15:10:51 -07:00
rajranjan0608 1024b3f039 Update index.md (#20355) 2018-10-29 12:52:43 -07:00
rajranjan0608 1e66276eda added the necessity of main() function (#20252)
* Update index.md

* grammar corrections
2018-10-29 09:10:39 -07:00
Siddharth Shrivastav c8aa2a4e9e star pattern using for loop (#20222)
## Example for printing star pattern for pyramid 
```c

#include<stdio.h>
int
main ()
{
  int i, j;
  for (i = 1; i <= 5; i++)
    {

      for (j = i; j < 5; j++)
	{
	  printf (" ");
	}


      for (j = 1; j <= (2 * i - 1); j++)
	{
	  printf ("*");
	}


      printf ("\n");
    }

  return 0;
}
```
## Output:
```shell 
     *
    ***
   *****
  *******
 ********* 

``
2018-10-28 15:06:09 -07:00
Yiğit Sever 11b1b150a8 Do not cast the result of malloc (#20044)
https://stackoverflow.com/a/605858/3005749, also expanded the definition of heap
2018-10-27 19:56:26 -07:00
SAKSHI-CHANDEL b6ad5afb70 Correcting a spelling mistake (#19845)
* Correcting a spelling mistake

* Formatting and adding missing code

* Removing extra code

* Update index.md
2018-10-26 03:29:30 -06:00
eliberator b32c93347c define the value of variable a to 100 (#27763) 2018-10-26 03:22:16 -06:00
Matt ca4812964e Added some info on recursion (#19814)
May be important info for some
2018-10-23 10:40:57 -05:00
Thomas Papapaschos b7836f87db update : handle division with zero & runtime error (#19620) 2018-10-23 22:50:19 +09:00
Thomas Papapaschos 4d0fad6e75 updated code parts for increased compatibility (#19621) 2018-10-23 22:49:32 +09:00
Tilak Singh 3115588b8f Update index.md (#25613) 2018-10-22 23:26:20 -07:00
Blaise Sebagabo 38d4c4c6cd added " C programming ressources link" (#21039)
* added " C programming ressources link"

This links to TutorialsPoint which is a good ressource for most of the programming languages

* Added "Unordered list for the tutorial element"
2018-10-22 14:58:42 -04:00
Akshay Avinash 720931c798 Definition change (#24081) 2018-10-22 11:30:41 -07:00
wolfwhocodes 0c1ca98205 Array variables have same data type (#23142)
An array is a set of homogeneous data. It's important to note that the variables in an array are always of the same data type.
2018-10-22 22:56:06 +05:30
chaudhary-anurag f97fec8cf5 Fixed typo in an example (#21436) 2018-10-20 01:57:46 +05:30
Prashanth Thiagarajan 09ee4821ee Update index.md (#21488) 2018-10-20 01:55:11 +05:30
Bouncey b1a785c87d fix(guide): Fix directory structure 2018-10-19 16:28:34 +01:00
Rahul Rawat ed55ef09bd Fixing typo in a Guide path(#19678) (#19696)
* Fixing typo in a Guide path(#19678)

* Fix the folder name to be lowercase and separated by hyphens
2018-10-18 09:04:21 +02:00
Thomas Papapaschos 7506631c77 fix spelling errors (#19616)
dinamic - > dynamic
2018-10-17 10:56:35 -07:00
Mrugesh Mohapatra da0df12ab7 fix(guide): simplify directory structure 2018-10-16 21:32:40 +05:30