Interesting facts about C Programming

Interesting facts about C Programming


Interesting facts about C Programming : C is one of the most popular Programming languages in the world. C language is used for Application development, Databases system, Graphic packages and many more things. Today, I will be telling you some amazing and interesting facts about C language that only 10% of programmers know. So let's get right into it:

1.  C language was not called C initially but it came up with this name through evolution. 
      Evolution: ALGO -> BCPL ->B -> Tradition C -> K&R C -> ANSI C -> ANSI/ISO C -> C99.

2. C serves as basics for many programming languages out there like C++, JavaScript, Go, C#, PHP        and lot more...

3. C language was developed at Bell Laboratories in 1972 by Dennis Ritchie.

4. Since, C was evolved version of BCPL and B hence according to alphabetical order it was named        C after B.

5. The latest version of C language is C18 which was released on June 2018.

6. In ANSI version there were 32 keywords and in C99 there were 5 more added to it and in C11 7          more were added.

7. You cant use the %(modulus) for float identifiers in C.(Interesting facts about C Programming)

Programming related facts about C:

1. You can use main to declare one or more integer variables.
   



2. If you try printing "%m" within printf() then it will give you output as "SUCCESS" because "%m"      prints the string corresponding to the error code in errno, if your code does not have any error.


3. "brk(0)" or "sbrk(0)" can also be used as an alternative to "return 0" because it defines the end of           process's data segment.


4. You can actually use ranges inside the switch.


5. sizeof is the only operator which is also a keyword.

6. In prinf and scanf , f stands for formatted not function.

7. Compiler generates the assembly code not machine code , then assembler generates the machine          code.(Interesting facts about C Programming).

These were some facts about C language ,if you know more facts pls tell me in the comment section below. Till then have a nice day.
HAPPY CODING ;


1 Comments

Post a Comment
Previous Post Next Post