while loop in C
Loops programming construct is used to execute one or more instructions repeatedly until some condition is satisfied. For loop also
Read moreC programming topics are covered here. Various topics are:
Loops programming construct is used to execute one or more instructions repeatedly until some condition is satisfied. For loop also
Read moreSimple if – else SyntaxThe form of an if statement is as follows: Note that every operator in C++ must
Read moreLoops programming construct is used to execute one or more instructions repeatedly until some condition is satisfied.
Read moreSimple if Syntax The form of an if statement is as follows: Practice Programs Program explanation
Read moreQ1. Create a program to compute the volume of a sphere. Use the formula: V = (4/3) *pi*r3 where pi
Read moreQ1. Design a program to find the circumference of a circle. Use the formula: C=2πr, where π is approximately equivalent
Read moreQ1. Create a program to compute the volume of a sphere. Use the formula: V = (4/3) *pi*r3 where pi
Read moreHierarchy of Operators While executing an arithmetic statement, which has two or more operators, we may confuse to calculate the
Read moreArithmetic Operators Arithmetic operators: +, -, *, /, %. These are binary operators as they operate on 2 operands at
Read moreOperators C provides operators for combining arithmetic, relational, logical, bitwise, and conditional expressions. Note that every operator must return some
Read moreArray is a data type like int, float, char, double etc. Note that int, float, char, double data types can store only
Read moreWhat is a Function A function is a self-contained block of statements that perform a SPECIFIC TASK. Every C++ program
Read morePOINTER: Pointer is a variable, which stores address of another variable. Pointer notation uses two symbols: * (Asterisk) symbol. * is called ‘value at
Read more