Search:

Type: Posts; User: beginningC

Search: Search took 0.01 seconds.

  1. Thread: structure

    by beginningC
    Replies
    5
    Views
    1,612

    thank you very much..

    thank you very much..
  2. Thread: structure

    by beginningC
    Replies
    5
    Views
    1,612

    @Jim Thank you very much. My problem is solved...

    @Jim
    Thank you very much. My problem is solved by inserting a space before the character specifier. But I could not actually get what happend.

    As you said the '\n' on hitting ENTER is left in...
  3. Thread: structure

    by beginningC
    Replies
    5
    Views
    1,612

    structure

    I am having problem with the following code; plz help.....



    #include<stdio.h>
    struct book
    {
    char name;
    float price;
    int pages;
  4. Replies
    6
    Views
    1,633

    Thanlk u all.....

    Thanlk u all.....
  5. Replies
    6
    Views
    1,633

    Actually I was trying to find out what does it...

    Actually I was trying to find out what does it return when I dont specify what to return.
    I expected garbage but it gave the correct answer(in gcc, ubuntu. I am not much concerned about the...
  6. Replies
    6
    Views
    1,633

    Need help with the following code....

    #include<stdio.h>
    int calsum(int x,int y,int z);
    void main()
    {
    int a,b,c,sum;
    printf("\nENter any three numbers\n");
    scanf("%d\n%d\n%d",&a,&b,&c) ;
    sum=calsum(a,b,c);
    ...
Results 1 to 6 of 6