Procedural programming in C

Procedural programming in C About the tutorial This tutorial is about procedural programming in C. We are going to use gcc within a linux environment to compile and run our programs. If you don’t want to install any compilers on the computer, you can use an online compiler like repl.it, or onlinegdb. Understanding the basics What is C? C is a general-purpose, procedural computer programming language supporting structured programming, lexical variable scope, and recursion, with a static type system....

February 26, 2024 · 12 min · 2476 words · Aum Pauskar

Basic DSA algorithms using C

A complete guide ds Termwork 1 - Infix evaluation Algorithm Create an empty stack (operandStack) to store operands and an empty stack (operatorStack) to store operators. Initialize a variable (result) to store the final output Iterate through each character of the infix expression. If the current character is an operand, add it to the operandStack. If the current character is an operator, pop operators from operatorStack and add them to operandStack until an operator with lower precedence is found....

November 16, 2023 · 24 min · 4913 words · Aum Pauskar