Skip to main content

Posts

Showing posts with the label Programming C Notes

Understanding Operators and Expressions in Programming C (Type Casting and Operators) || Programming C Notes Unit 002

Understanding Operators and Expressions in C Question : What is operators on Programming C ? Ans: Operators in C programming are symbols that are used to perform operations on operands. These operations can include arithmetic operations, logical operations, bitwise operations, assignment operations , and more. Operators help in manipulating data and controlling the flow of a program.  DIFFERENT TYPES OF OPERATORS: 1) Arithmetic:  In C language, there are five primary arithmetic operators  Used to perform arithmetic operations such as addition, subtraction, multiplication, division, and modulus. : Addition (+) Subtraction (-) Multiplication (*) Division (/) it will provide u divide value not remainder Remainder after division (%), also known as the modulus operator. These operators perform basic mathematical operations like addition, subtraction, multiplication, division, and finding the remainder of integer division. The symbols +, -, *, and / function similarly to o...

Programming C Introduction (Variables, Data types, Specifiers, Identifiers) || Programming C Notes Unit 1

Question: What is Psuedo Code ? Psuedo Code:  Pseudocode is a language-agnostic method for describing algorithms using simple English phrases. It's a helpful tool for programmers to develop algorithms without getting bogged down in specific programming language syntax. It allows for a rough design of a solution based on the problem explanation, helping to clarify the logic before diving into coding. With pseudocode, programmers can focus on the problem-solving process rather than the intricacies of coding syntax. The general guidelines for developing pseudocodes are:  Statements should be written in English and should be programming language independent. Steps of the pseudocodes must be understandable. It should be concise. Each instruction should be written in a separate list and each statement in pseudocode should express just one action for the computer. The keywords like READ, PRINT etc should be write in capi- tal letter.  Each set of instruction should written from...