Search Results

Search found 2 results on 1 pages for 'vivek27'.

Page 1/1 | 1 

  • Issues in Fedora detecting on board NIC card

    - by Vivek27
    Basically I have two NIC cards (on-board + Added in PCI slot) on my Linux machine running Fedora 12.By default the OS detects the NIC card in the PCI slot but it fails to detect the on board network card.Following are few details of the same Linux Vivek 2.6.32.26-175.fc12.i686.PAE #1 SMP Wed Dec 1 21:45:50 UTC 2010 i686 i686 i386 GNU/Linux ifconfig -a doesen't show the on board NIC card.Any thoughts for it please? Since it is also related to network configuration. I posted it here.

    Read the article

  • string manipulations in C

    - by Vivek27
    Following are some basic questions that I have with respect to strings in C. If string literals are stored in read-only data segment and cannot be changed after initialisation, then what is the difference between the following two initialisations. char *string = "Hello world"; const char *string = "Hello world"; When we dynamically allocate memory for strings, I see the following allocation is capable enough to hold a string of arbitary length.Though this allocation work, I undersand/beleive that it is always good practice to allocate the actual size of actual string rather than the size of data type.Please guide on proper usage of dynamic allocation for strings. char *string = (char *)malloc(sizeof(char));

    Read the article

1