Search:

Type: Posts; User: Rishi Kumar

Search: Search took 0.00 seconds.

  1. Replies
    22
    Views
    18,816

    #include #include main() {...

    #include<stdio.h>
    #include<conio.h>
    main()
    {
    char *s[10];
    fgets(s, 10, stdin);
    printf("&#37;s",s);
    getch();
    }
  2. Replies
    22
    Views
    18,816

    thanx Elysia... i dont get any error with...

    thanx Elysia...

    i dont get any error with fgets...
    i use dev c++ with gcc compiler...
    but i get a warning: "passing arg 1 of `fgets' from incompatible pointer type"... y???
  3. Replies
    22
    Views
    18,816

    i dont have a fixed book for studying c... i...

    i dont have a fixed book for studying c...
    i refer to tutorials and books then n thr...
    any really gud somewat complicated book u wud recommend??
  4. Replies
    22
    Views
    18,816

    Are char pointers an alternative to strings...???

    Are char pointers an alternative to strings...???
  5. Replies
    22
    Views
    18,816

    i am a beginner.... i have never used malloc...

    i am a beginner.... i have never used malloc be4... how to use it...
    this program works perfectly in turbo c 2.01....
    (removing "&" makes no difference)...
  6. Replies
    22
    Views
    18,816

    char pointers in C

    #include<stdio.h>
    #include<conio.h>
    main()
    {
    int i;
    char *s;
    scanf("%s",&s);
    printf("%s",s);
    getch();
    }
Results 1 to 6 of 9