Hello friends,
I am following a book that states that range of unsigned integers is from 0 to 65535 for 16-bit compilers but this simple program has perplexed me:
main()
{
unsigned...
Type: Posts; User: hitesh_best
Hello friends,
I am following a book that states that range of unsigned integers is from 0 to 65535 for 16-bit compilers but this simple program has perplexed me:
main()
{
unsigned...
Consider this simple program:
main()
{
int x, y;
x = (y = 3, y + 1);
printf("x = %d and y = %d", x, y);
}
Thank you very much matsp,
All my doubts are cleared. Thanks again.
Hello friends,
I am a newbie. During reading the C language, many times these terms come.
1) 16-bit environment or 32-bit environment
...
Hello friends,
I am making a simple to calculate the digits of a number. The basic code is fine and it is working.
Now I want that if the user is interested he...
Hello friends,
I am following Let us C, 6th edition, by Yashavant Kanetkar,
I have problem understanding the concept of associativity of operators,
I tried to find some good material on...
Oh yes, there is a mistake in the code.
It should have been variable i in the print statement, instead of a.
@Salem Thanks Salem, I somewhat understood your point, one thing is still there, why does using int variable does not give a error but using float or char gives error.
@ssharish2005, ...
main()
{
int i = "a";
printf("%d %c",a,a);
getch();
}
the output shows a no. 170 and a ASCII character corresponding to it. Even if we change the character we get the same...
Hello friends,
I am new to programming. I just wish to know what are the characters represented by ASCII values 0 and 32.
In ASCII list which I dowloaded from...