C Tutorials

Difference between Declaration and Definition in C

Mostly beginner programmers are not aware of difference between declaration and definition in C. In this tutorial I will explain the both terms clearly. Declaration It tells compiler about the name and type of the identifier (variable, function, array, etc.). Memory is not reserved in this case. Variable Declaration extern int num; In above example …

Difference between Declaration and Definition in C Read More »

Solve error: lvalue required as left operand of assignment

In this tutorial you will know about one of the most occurred error in C and C++ programming, i.e. lvalue required as left operand of assignment. lvalue means left side value. Particularly it is left side value of an assignment operator. rvalue means right side value. Particularly it is right side value or expression of an assignment …

Solve error: lvalue required as left operand of assignment Read More »