Good and popular websites for C and C++ Programming language

Posted on:
tags: , , , , , , , ,

I am sharing some good and popular websites for c and c++ Programming Language. All website is very nice and popular. 



1) http://www.cprogramming.com/



Cprogramming.com is programming language website for C and C++ which help to beginners and try to make them advance in the field of programming. 


Owner :  Alex Allain ( Author and Webmaster)


Founded year : 1996



2) http://www.cplusplus.com/



Cplusplus.com are for programming forum, documentation, tutorial, source codes for C++ Programming language. You can enjoy using this flexible sevice they are providing. Good for beginners as they can ask question in the forum section.

 



3) http://www.codingunit.com/




Every programmer, game-programmer or internet user are using this cool website. Good for C-Tutorial and C++ Tutorial. They created this site with tutorials that will cover these topics from A to Z. In the hope that you don’t have to search any more and can come to this site when you need a specific tutorial.

Hope you all like this post
Thanks for visiting here :) 
Follow me for more interesting stuffs ! 


---------------------------------------------------------------------------------

Posted By Sundeep aka SunTechie
Sundeep is a Founder of Youth Talent Auzzar, a passionate blogger, a programmer, a developer, CISE and these days he is pursuing his graduation in Engineering with Computer Science dept.
Add Sundeep as a Friend on
 


What is an lvalue in C ?

Posted on:
tags: , , , , , , , ,
What is an lvalue?



Answer:

An lvalue is an expression to which a value can be assigned. The lvalue expression is located on the left side of an assignment statement, whereas an rvalue (see FAQ I.11) is located on the right side of an assignment statement. Each assignment statement must have an lvalue and an rvalue. The lvalue expression must reference a storable variable in memory. It cannot be a constant. For instance, the following lines show a few examples of lvalues:

int x;
int* p_int;
x = 1;
*p_int = 5;

The variable x is an integer, which is a storable location in memory. Therefore, the statement x = 1 qualifies x to be an lvalue. Notice the second assignment statement, *p_int = 5. By using the * modifier to reference the area of memory that p_int points to, *p_int is qualified as an lvalue. In contrast, here are a few examples of what would not be considered lvalues:

#define CONST_VAL 10
int x;
/* example 1 */
1 = x;
/* example 2 */
CONST_VAL = 5;

In both statements, the left side of the statement evaluates to a constant value that cannot be changed because constants do not represent storable locations in memory. Therefore, these two assignment statements do not contain lvalues and will be flagged by your compiler as errors.


Cross Reference:


---------------------------------------------------------------------------------
Posted By Sundeep aka SunTechie

Sundeep is a Founder of Youth Talent Auzzar, a passionate blogger, a programmer, a developer, CISE and these days he is pursuing his graduation in Engineering with Computer Science dept.
Add Sundeep as a Friend on 

>