A structure in “C” Language is a collection of the heterogeneous data type. Where you can store the value of different types in form of a grouped list in a single variable. The value of structure accessed using struct declared name or through the pointer. Structures are defined using Struct keyword. Continue reading
We have seen our previous post how to declare multidimensional arrays. Here we play with multidimensional arrays like Sum of Matrix, Multiply of Matrix etc. Continue reading
Hello, friends! We all uses ATM to withdraw money in our daily life. Ever thought how it is work behind ATM. As per Wikipedia Cash Machine is the origin name of ATM (automated teller machine) also it called ABM (automated banking machine). It is the combination of electromechanical hardware and software. Continue reading
In a single sentence, an Array is a container of the homogeneous data type. that can store a fixed-size sequential collection of elements of the same type. An array is used to store a collection of data, but it is often more useful to think of an array as a collection of variables of the same type. Continue reading
Unlike most of the computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition in C or C++. The while loop can be thought of as a repeating if statement. Here is some program using while Loop: Continue reading
Well, friends today we discuss about loops in C /C++. Iteration statements (Loops) allow a set of instruction to be executed repeatedly until a certain condition meets. The condition may be predefined or open ended like (for loop and do-while or while loop) Continue reading
C program to perform basic arithmetic operations which are an addition, subtraction, multiplication, and division of two numbers. Numbers are assumed to be integers and will be entered by the user.
Write a c program that takes two or more numbers from the user then print the sum of these number.
This c language program performs the basic arithmetic operation of addition on two numbers and then prints the sum on the screen. For example, if the user entered two numbers as 2, 4 then 6 (2 + 4) will be printed on the screen. Continue reading
Data types in c give you abilities to choose exact data type of variable for your operation. The type of a variable determines how much space it occupies in storage and how the bit pattern stored is interpreted.
Hello, friend’s C or C++ programming become a compulsory subject of every engineering sector and general education also. If you’re willing to spend few money then I’d strongly recommend you following text or eBook 1) Let Us C by Yashwant Kanetkar 2) Object Oriented Programming With C++ By E Balagurusamy.