Search:

Type: Posts; User: justine

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. I need it as a nested one. ...

    I need it as a nested one.



    #include<stdio.h>
    struct class
    {
    int number;
    char name[20];
    float marks;
  2. 'struct class’ has no member named ‘teach’

    #include<stdio.h>
    struct class
    {
    int number;
    char name[20];
    struct jow
    {
    int num;
    char word[10];
    };
  3. Replies
    13
    Views
    3,056

    Okey.

    Okey.
  4. Replies
    13
    Views
    3,056

    I was checking the action of each function: ...

    I was checking the action of each function:


    #include <stdio.h>
    using namespace stdin;
    int main()
    {
    char ch;
    printf("Press ant key to continue\n");
    getch();
  5. Replies
    13
    Views
    3,056

    laserlight...

    laserlight
    For doing exercise in my book.
    qny
    aware of that, qny
  6. Replies
    13
    Views
    3,056

    getch(), putch(), etc

    getch(), putch(), etc
  7. Replies
    13
    Views
    3,056

    Thank you. PS:In gcc no conio.h, what is the...

    Thank you.
    PS:In gcc no conio.h, what is the alternative?
  8. Replies
    13
    Views
    3,056

    lvalue required as increment operand

    #include <stdio.h>
    int main()
    {
    char a[]="Hello";
    while (*a!='\0')
    {
    printf("%c", *a);
    a++;
    }
    return 0;
  9. Replies
    16
    Views
    2,122

    Thanks laserlight...

    Thanks laserlight
  10. Replies
    16
    Views
    2,122

    So there is other thing with name array of...

    So there is other thing with name array of structers?
  11. Replies
    16
    Views
    2,122

    Here what is the use of "s", I think s[0] is the...

    Here what is the use of "s", I think s[0] is the base address.

    Edit: Nope 's' is, How did that happen. Is it two dimensional?
  12. Replies
    16
    Views
    2,122

    Ok this is working

    Ok this is working
  13. Replies
    16
    Views
    2,122

    #include int main() { struct ...

    #include <stdio.h>
    int main()
    {
    struct
    {
    int x, y;
    }s[]={
    {10, 20},
    {15,25},
    {8,75},
  14. Replies
    9
    Views
    1,753

    It is Let Us C by YPK. But I thing it is not...

    It is Let Us C by YPK. But I thing it is not specifying that it will be contiguous, but during a program for showing the increase of memory location by one it point to the next location of its type,...
  15. Replies
    16
    Views
    2,122

    *(1+i)**(i+4)/*i (*(s+*(i+1)/*i)).x+2 ...

    *(1+i)**(i+4)/*i
    (*(s+*(i+1)/*i)).x+2




    It is not rejecting, but gives warning.
  16. Replies
    8
    Views
    963

    printf("%p, %p, %p\n", (void*)&i, (void*)&j,...

    printf("%p, %p, %p\n", (void*)&i, (void*)&j, (void*)&k);






    #include <stdio.h>

    int main()
  17. Replies
    16
    Views
    2,122

    Array of structers

    In my book a question is like below:
    Match the following with reference to the following program segment:


    struct
    {
    int x, y;
    }s[]={10, 20,15,25,8,75,6,2};
    int *i;
    i=s;
  18. Replies
    9
    Views
    1,753

    Ok, Thank you.

    Ok, Thank you.
  19. Replies
    8
    Views
    963

    Thank you, got it.:)

    Thank you, got it.:)
  20. Replies
    9
    Views
    1,753

    Can you please explain it? You said the book is...

    Can you please explain it? You said the book is wrong, or it may be because of my 32 bit compilar?
  21. Replies
    8
    Views
    963

    But this code working: #include ...

    But this code working:


    #include <stdio.h>

    struct book
    {
    char name[6];
    float price;
    int pages;
  22. Replies
    9
    Views
    1,753

    Memory location of variable

    #include <stdio.h>
    int main()
    {
    int i=3;
    float j=1.5;
    char k='c';
    printf("%u, %u, %u\n", &i, &j, &k);
    return 0;
    }
  23. Replies
    8
    Views
    963

    String length in structure

    #include <stdio.h>

    struct book
    {
    char name[5];
    float price;
    int pages;
    };
    void display (struct book);
    void displa (struct book *$b234234234);
  24. Replies
    3
    Views
    1,288

    Thanks, that is clarified. :)

    Thanks, that is clarified. :)
  25. Replies
    3
    Views
    1,288

    Structures nesting

    #include<stdio.h>
    int main()
    {
    struct address
    {
    char phone[15];
    char city[25];
    int pin;
    };
    struct emp
Results 1 to 25 of 41
Page 1 of 2 1 2