Author: learnconline

How to prepare for an IT job interview? 0

How to prepare for a job interview as a fresher in the IT industry?

If you’re just starting out in your tech career, the thought of going through an interview can be intimidating. But don’t worry – with the right preparation, you can feel confident and secure in your abilities. So, where do you begin? First, it’s important to understand what you can expect in an interview. These interviews typically consist of two types of questions: technical and behavioral. Technical questions will test your knowledge of specific programming languages, algorithms, and software design principles. On the other hand, behavioral questions will assess your problem-solving skills and ability to work in a team. To prepare...

Learn To Build Programming Logic 1

How To Build Programming Logic?

This article is for you if you are new to programming or find it challenging to build programming logic. Do read till the end of this article. I will share the technique and process you should follow to improve your programming logic skills. Let’s get started I will start with the EIGHT things you should absolutely do if you want to be an expert in building programming logic. #1 Improve fundamentals Irrespective of the programming language, it is essential to make sure you understand the programming fundamentals. When I say programming fundamentals, I am talking about basics like if statement,...

Program to remove the last comma from a string using C 0

Program to remove the last comma from a string using C

Write a program in C to remove the last comma from a string. The below C program takes string having comma’s in it as input and removes the last comma from the string. The program will display the processed string on the output screen. #include <stdio.h> #include <stdlib.h> #include <string.h> int main() { //Declare all the necessary variables char *strInput=”C Programming, Tutorial site”; char *strOutput; int length = 0; int counter = 0; int flag = 0; //Get the length of input string length=strlen(strInput); //find the position of last comma for(counter = length-1; counter >=0; counter–){ if(strInput[counter]==’,’){ //position of comma...

Add comments in C 3

Comments in C

In this article, I will explain how to comment in the C program. By the end of this article, you will learn how to add a single-line comment and multi-line comments in your C program. I also have a video version of this article. Scroll to the bottom of this article to view the video version which includes a detailed explanation along with the hands-on example. Comments in C are used to explain or describe source code logic. There are 2 types of comments: Single line comment Multi-line comment The program will ignore whatever text we specify using comments during...

Program to find memory space allocation for data-types 1

Program to find memory space allocation for data-types

Whenever we declare a variable in C, compiler will allocate storage space in the computer’s memory. For example, if we declare a variable as “int”, 32-bit C compiler will allocate 4 bytes of memory space. Below is the program in C which displays memory storage space allocated by C compiler as per data-type.Following data types are covered in the below C program: int float short int double signed int unsigned int long int long long int double long double signed short int signed long int unsigned short int unsigned long int unsigned long long int char signed char unsigned char...

How to set-up eclipse for C Programming - Install and setup Eclipse for C 2

How to set-up and install eclipse for C/C++ programming

In order to write a C program and execute the code, we need a software that allow us to write, compile and execute the C Programming code. There are many licensed software available in the market which will allow you to write and execute C programs. However, you will have to pay in order to use the licensed software. In this article, we will learn how to install and set-up open source software Eclipse for C/C++ programming. We will follow the below steps to install and set-up free Eclipse for C programming. In order to download the free version of...

FREE C Cheatsheet - Speed Up Your C Programming.

FREE C Cheatsheet - Speed Up Your C Programming.

Download a 7-page free cheat sheet for easy and quick access to C Concepts, Snippets, and Syntax.

Thank you! Check you inbox and access your cheat-sheet