#include<stdio.h>
#include<Windows.h>
main()
{
char ch;
system("cls");
ch='A';
printf("Value of %c is %d",ch,ch);
ch=ch+1;
printf("\n Value of ch is increased by 1");
printf("\n Value of %c is %d",ch,ch);
getchar();
}
Above Code is an example of C programming in Visual Studio 2010.
Question
My question is---If I want to see which data stored in which bit of memory and when it will be saved in memory what will be its form means in the case of above example how will be saved 'A' in memory and if I use '1' instead of 'A' then how will be saved in memory?
I need something by which when I shall use printf function I can see the form of stored data in memory in which bit and how.
If any one knows then make me understand this matter step by step to know that I am using Visual Studio 2010.I do not know that I can make you understand my problem or not.

New Topic/Question
Reply



MultiQuote



|