Posts

Showing posts from October, 2019

Fundamentals of C | feel_the_coder | C Weekly

Fundamentals of C Programming  Token Any individual entity in a c program is called as the token. There are five types of token. 1. Identifier - Identifier are the name given to any variable , function , macro, etc. They are generally used to identify the parts of a program as suggested by its name. for example - the name given to any function ,variable,etc 2.Keywords - Keywords are the special words that convey a special meaning to the compiler.There are total of 32 keywords in C Programming. Some Of the Keywords are listed below : if             void       int           float     double       long        short      else    for           do          while      auto      char         ...

C Weekly | How to compile C Program

Image
 Hello everyone, Welcome to my blog " C Weekly ". Let's start today's topic - " How to compile C Program ". As we all know that C is a compiled language. In my previous blog I have explained how a C program works, Today I will show you how we can compile our c program. So there are many methods for compiling the program. But first, let me tell you about the C compiler. C Compiler: The compiler of C is known as GCC ( GNU Compiler Collection ), which is not only the C compiler it is the collection of the compilers of many languages like C, C++, Objective-C, Objective-C++, Fortran, Java, Ada, and Go, etc. We can compile any program of these languages with the help of the GCC. For example, we use 'gcc' for compiling C programs and 'g++' for compiling C++ programs. Types of compilation: It is very easy to compile and run a C program using any IDE like Turbo C, Dev C, etc. But if you do not have any IDE you can still compile an...

C Weekly | Data Types In C | Variables | Comments | Simple Program

Image
Data Types Hello everyone !! Till now you are aware about what is c? why c is popular and how a c code runs in system, what are the rules for declaring variables?? Before data types we will try to understand what so called variable is?? Do you know what is variable ?? A variable is just a name of a block of memory in our computer storage area where we can store different type of data for performing different operations on that data. Variables A variable is a name of memory in computer that can be used to store values. value of a variable can be of any type ..it may be integer,floating ,character,etc.. The type of value in variable is given by the datatypes.every variable has a associated datatype which decides type of value in variable. Variable declaration Syntax :     qualifier data_type variable_name ; it is not necessary to use qualifiers. for example - int a; This will create a block in memory named a where we can store in...

C Weekly | How a C program works

Image
Hi, again I am back with a new topic. Today's topic is "How a C program works" means whenever we write a program in C language, then how it interacts with the machine, what is happening behind the scene. Before we start, let me tell you some characteristics of C language. Characteristics of C C is a middle-level language. It has the simplicity of a high-level language as well as the power of a low-level language. This aspect of C makes it suitable for writing both application and system programs. C is small language, consisting of only 32 English words known as keywords(if, else, for etc). The power of C is augmented by the library functions provided with it. It also allows users to add their own library functions to the library. Structure of C programs  A C program is a collection of one or more functions. Every function is a collection of statements and performs some tasks. The general structure of a C program is- Compilation and Execution of C Program No...

BloggyPy | A blog series on Python

Hey guys,I'm RAHUL BHARDWAJ and I'm here to apprise you that we are get going a weekly series  on PYTHON Programming named as "BloggyPy" in which I'll tell you What is Python,Why Python,How to use Python and Why it's so popular?  In my future blogs I'll cover a lot of things and we'll implement some mini project also with the help of Python. I'm so interested and excited to start this series. History of Python : Python was created in 1990 by Guido van Rossum at  Centrum Wiskunde & Informatica (CWI)  in the Netherlands.The reason behind the name of 'Python' is that when Van Rossum was implementing Python,he was also reading the published scripts from “Monty Python’s Flying Circus (BBC Comedy Series)” He thought he needed a name that was short, unique, and slightly mysterious, so he decided to call the language 'Python'. What is Python : Python is a general purpose dynamically typed and high level Object Oriented pro...