C Program to print the values stored in identifiers.

C Program to print the values stored in identifiers. An identifier can be in lowercase or uppercase. The upper and lower case are NOT interchangeable. The above program should give you an idea that C is case sensitive. “Sum” and “sum” are different variables and so have different values. The _ (underscore) character can also be included and is considered a letter. So try a program by using some other identifiers using underscore. Read more about C Programming Language .

/***********************************************************
* You can use all the programs on www.c-program-example.com
* for personal and learning purposes. For permissions to use the
* programs for commercial purposes,
* contact info@c-program-example.com
* To find more C programs, do visit www.c-program-example.com
* and browse!
*
* Happy Coding
***********************************************************/

#include <stdio.h>

int main()
{
int sum, Sum ;

sum = 10 ;
Sum = 20;

printf(" The value stored in two different identifiers
are : ");

printf(" n sum is : %d n Sum is %d n", sum, Sum);

getchar();

return(0);
}
Read more Similar C Programs
Learn C Programming

Simple C Programs

You can easily select the code by double clicking on the code area above.

To get regular updates on new C programs, you can Follow @c_program

You can discuss these programs on our Facebook Page. Start a discussion right now,

our page!

Share this program with your Facebook friends now! by liking it

(you can send this program to your friend using this button)

Like to get updates right inside your feed reader? Grab our feed!

(c) www.c-program-example.com

2 comments on “C Program to print the values stored in identifiers.

  • Alfred Tabisola says:

    Recently i got a blogspot intended for my mixtapes that I uploaded but when I actually search my DJ name (even complete url), it shouldn’t appear in the google search. Does it take about a week for this to appear or do I have to pay to get it to come up?.

    Reply
    • Sandeepa Nadahalli says:

      Hi Alfred,

      Wait for another week and then get in touch with me. I should be able to guide you.

      Reply

Leave a Reply