Search:

Type: Posts; User: amzc

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    712

    Hi...Zuk could you give an explanation for the...

    Hi...Zuk
    could you give an explanation for the above ...:confused::confused::confused:
  2. Replies
    3
    Views
    712

    structure of structure

    Hi...
    how I can create a structure that pointing to another different structure. And also passing structure to function.



    thank you.
  3. Replies
    4
    Views
    777

    my last qus is .... #include ...

    my last qus is ....



    #include <stdio.h>


    void foo(int[][3]);
  4. Replies
    4
    Views
    777

    @ salem: not the same qus..it is different. I...

    @ salem: not the same qus..it is different. I know its output but i can't understand why like that.....?
  5. Replies
    4
    Views
    777

    what is the output...?

    #include <stdio.h>
    void f1(int*, int);
    void f2(int*, int);
    void (*p[2])(int*, int);
    int main(void)
    {
    int a = 3;
    int b = 5;
    p[0] = f1;
    p[1] = f2;
  6. Replies
    2
    Views
    639

    what is the output..?

    how it comes...?
    #include void foo(int[][3]);int main(void){ int a[3][3] = { {1, 2, 3}, {4, 5, 6}, {7, 8, 9} }; foo(a); printf("%d\n", a[2][1]); return 0;}void foo(int b[][3]){ ++b; ...
  7. Thread: simple

    by amzc
    Replies
    2
    Views
    636

    simple

    void main()
    {
    extern char a[30];
    }

    How much array a is reserving memory space? how?
  8. Replies
    8
    Views
    870

    @rogster001 :Ohh I am really sorry i can't able...

    @rogster001 :Ohh I am really sorry i can't able to understand your code because I don't know c++...:D
  9. Replies
    8
    Views
    870

    @rogster001 : I can do that simple programs but I...

    @rogster001 : I can do that simple programs but I can't do it in some data structures like tree traversal , link lint reverse ... but I can done it in iterative method.
  10. Replies
    8
    Views
    870

    recursion help...!!

    hai...

    I couldn't able to understand recursion programs. so please suggest me any way to improve my recursion programming skill..

    thank you..
  11. Replies
    7
    Views
    3,361

    *scan_array or *scan_array[number] or...

    *scan_array or *scan_array[number] or *scan_array+number - you can access the value of that address
    scan_array - is a pointer variable
  12. Thread: Nodes

    by amzc
    Replies
    7
    Views
    2,039

    And one important thing is use typedef to save...

    And one important thing is use typedef to save your coding time.....:D
  13. Thread: Nodes

    by amzc
    Replies
    7
    Views
    2,039

    trial =(struct randomstruct *)...

    trial =(struct randomstruct *) malloc(sizeof(struct node));

    malloc() always return void pointer so you should type cast it in to your struct pointer.....
  14. Thread: please check

    by amzc
    Replies
    6
    Views
    1,284

    @ twomaers : But I want to do it in no extra...

    @ twomaers : But I want to do it in no extra space. which means use only those str1 and str2 variables only....
  15. Thread: please check

    by amzc
    Replies
    6
    Views
    1,284

    strcpy( concat + strlen(s1), s2 ); @...

    strcpy( concat + strlen(s1), s2 );



    @ twomaers: I can't able to understand.... could you explain the process....
  16. Thread: please check

    by amzc
    Replies
    6
    Views
    1,284

    please check

    #include<stdio.h>
    #include<stdlib.h>
    void con(char*,char*);
    int len(char*);
    char s[]="xxxxx";
    char s2[]="yyyy";
    main()
    {
    char *s1=&s2;
    char *s0=&s;
  17. Replies
    3
    Views
    4,238

    isdigit function...!!

    isdigit function...!!
  18. Replies
    3
    Views
    4,238

    how to extract int from char array

    A compressed string is stored in an array of sufficient length. Write a program and its complexity to un-compress the string.
    i.e. a3b6c4
    1.output:
    aaabbbbbbccccc

    2.output:
    abc346

    The...
  19. Thread: sorting

    by amzc
    Replies
    8
    Views
    1,227

    Write a C program to print all permutations of a...

    Write a C program to print all permutations of a given string - GeeksforGeeks | GeeksforGeeks

    @salem This what you said....
  20. Thread: sorting

    by amzc
    Replies
    8
    Views
    1,227

    No... I'll try

    No... I'll try
  21. Thread: sorting

    by amzc
    Replies
    8
    Views
    1,227

    sorting

    Today my instructor ask one qus. to me but really I dont know how to solve that problem. that was a given array contain some elements we have to print it in the way of all possible combinations.
    ...
  22. Thread: Queue Imp

    by amzc
    Replies
    4
    Views
    1,168

    #include #define FALSE 0 #define...

    #include <stdio.h>

    #define FALSE 0
    #define NULL 0

    typedef struct {
    int dataitem;
    struct listelement *link;
    }listelement;
  23. Thread: Queue Imp

    by amzc
    Replies
    4
    Views
    1,168

    @laserlight: No...but I have to write it in...

    @laserlight: No...but I have to write it in minimum cast...so that only i ask
  24. Thread: Queue Imp

    by amzc
    Replies
    4
    Views
    1,168

    Queue Imp

    In queue Implementation how many pointers are needed to write optimized code ...?:confused::confused:

    Thank you
  25. Thread: urgent help !

    by amzc
    Replies
    3
    Views
    3,441

    you declare the variables as float but you read...

    you declare the variables as float but you read integer value(%d) try to change it
Results 1 to 25 of 32
Page 1 of 2 1 2