Posts

C And C++ Programming Languages — Biggest Differences

Image
C And C++ Programming Languages — Biggest Differences And Comparison April 14, 2016 Short Bytes:  C vs C++ — which one is better? What is a procedural programming language and what is a modular programming language? Which one should be used for better and faster output? Well, we answer all the aspects of using C vs C++ against each other in this article. C Programming language is said to be the mother of most of the most famous languages. However, the next generations and child languages took over C very easily. Among all the programming languages, C is the most talked language against all. Let’s take a deeper look into the same and know why and how these languages are different. C vs C++: Comparison and differences Structural or procedural C is a structural or procedural programming language whereas C++ is a modular or an object-oriented programming language. Let’s look at it this way: Let’s imagine, you are building up a house in...

What are security issues in the C language?

Image
What are security issues in the C language? I recently read about two of them: 1.   Buffer Overflow:   It happens when data written to a buffer (chunk of memory) overflows and gets overwritten onto the adjacent memory due to lack of proper boundary checks. Let me show you something - consider the following code that I tried on  Compile and Execute C Online, (An Online C Compiler) : You can clearly see that I have allocated memory for  only 8 integers  in the array 'a', but I have tried to access and modify the value corresponding to 10th integer in array 'a' (a memory location that belongs to some other entity). Certainly, anything this unethical must not be allowed, right guys... but the output is quite surprising, isn't it: Then, I got a little more ambitious and tried the following: and I got the utmost feared   segmentation fault: So,   what happened   ? Well, C wil...

Why it is important to study data structures?

Image
What are the benefits and why we use to study Data structure and algorithms. Why it is important to study data structures? Sometimes it is difficult for students to view where they can apply knowledge that they get during studies. When we (software engineers, developers and etc) were in bachelor degree we learnt a lot of different kind of data structures. Binary Search Tree (BST), AVL Tree, Queue, Stack, Red-Black Tree are the only small part of data structures that we passed. But after finals most of those data structures, or even all of them will be forgotten. Even if we didn't forget them, we still lack the experience to use them in real application. Why we need to bother about abstract data structure when we already have implemented array list, vectors, hashmaps in Java (or any other high developed language).  In this post I would like to give 3 reasons why it is important to learn complex data structures. Reason #1: Job Interviews Almost every company,...

Information about technology. must read it

Image
Information Technology definition and its examples Introduction to Computing Table of Contents 1. Information Technology Definition 2. What does Information Technology includes? 3. More Specifically Information Technology means 4. Examples of Information Technology are Information Technology “IT” is one of the fastest growing industry in today’s unstable economy. Various research shows that people related to the IT industry are paid higher as compared to other fields. Why? Because many businesses, Government organizations, Industries want to automate their business & day-to-day processes. The term Information Technology is almost always referred to computers & computer networks, but it also includes Telephones, Television, Telecom industry & even people who works in those industries. According to Wikipedia, The word “Information Technology” was first used in an article published in Harvard Busi...

350th Prakash Parv ३५०वा प्रकाश पर्व

Image
350th Prakash Parv ३५०वा प्रकाश पर्व 350, ਕੀ ਰੌਸ਼ਨੀ ਦੇ ਤਿਉਹਾਰ Symbol of Sikhism Portrait of Guru Gobind Singh Begins December 30, 2016 Ends January 8, 2017 [1] Venue Takht Sri Patna Sahib ,  Patna City Location(s) Patna ,  Bihar Country India Organised by Tourism Department,  Government of Bihar  and India  Website 350thprakashparv.bih.nic.in   The  350th Prakash Parv  (also known as Prakash Utsav) or 350th birth anniversary of  Shri Guru Govind   Singh ji is going to celebrated in January 2017 in Patna sahib (city) patna, India. 2017 is the year of the 350th anniversary of the 10th Sikh Guru, a spiritual master, warrior, poet and philosopher. At the date of this anniversary, a number of events is scheduled to be organized on the occasion in  Patna  marking a grand celebration in their history. According to celebration this will be a grand celebratio...