Search:

Type: Posts; User: hitesh_best

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    3,987

    range of unsigned integer

    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...
  2. x = (y = 3, y + 1) why 3 is assigned to y first before calculating y + 1

    Consider this simple program:



    main()
    {
    int x, y;
    x = (y = 3, y + 1);
    printf("x = %d and y = %d", x, y);
    }
  3. Thank you very much

    Thank you very much matsp,

    All my doubts are cleared. Thanks again.
  4. 16-bit and 32-bit environment or compiler

    Hello friends,
    I am a newbie. During reading the C language, many times these terms come.
    1) 16-bit environment or 32-bit environment
    ...
  5. Replies
    2
    Views
    1,968

    problem in char variable

    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...
  6. Replies
    2
    Views
    3,256

    associativity of operators

    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...
  7. Oh yes, there is a mistake in the code. It...

    Oh yes, there is a mistake in the code.

    It should have been variable i in the print statement, instead of a.
  8. @Salem Thanks Salem, I somewhat understood...

    @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, ...
  9. using double codes in assigning value to an int variable

    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...
  10. Replies
    4
    Views
    15,036

    ASCII character with ASCII value 0 and 32

    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...
Results 1 to 10 of 10