Search:

Type: Posts; User: pavun_cool

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    824

    int num_a=0, num_b=0; return count(...

    int num_a=0, num_b=0;




    return count( str[idx], idx);
  2. Replies
    5
    Views
    2,183

    #include #include main() {...

    #include<stdio.h>
    #include<malloc.h>
    main()
    {
    char *ptr[20]; // (char *) array with 4 columns and 20 rows, and I want to export it to stdout.
    int i ;
    for ( i =0;...
  3. Replies
    6
    Views
    53,684

    Use dedicated error function

    There are some function to know what is error we are getting .

    perror , strerror .

    perror function : We need to pass some string .

    example :

    After calling some function
  4. Replies
    7
    Views
    1,171

    Pointer Arithmetic

    In case of first snippet You just accessing array element by specifying its row and column value.



    int a[2][2]={1,2,3,4};

    // defined array structure
    // a 0 1
    // 0 1 2
    // 1 3 4
Results 1 to 4 of 4