Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: NadadurSreedhar
  • Order by date
  1. NadadurSreedhar

    Question: EOF on Standard Input : ???

    Use ctrl-D if Ur working in Unix.
  2. NadadurSreedhar

    most popular books for c

    The best book is "The C programming Language" By Brain w. kernighan Dennis M.ritchie
  3. NadadurSreedhar

    this code does not work... help!

    Identity matrix is one in which whose rows and columns are equal the value is 1 otherwise 0. For Identity matrix code is for(i=0;i<row;i++) for(j=0;j<col;j++) { if (i==j) a[i][j]=1; else a[i][j]=0; }
  4. NadadurSreedhar

    Implemeting Identity matrix in C

    Identity matrix is one in which where row=col there will be one in all the other places it will be zero. This code may help U. #include<stdio.h> int main(void) { int row,col,i,j,a[10][10]; //please enter rows and columns equal. printf(&quot;enter the number of rows&quot;)...
  5. NadadurSreedhar

    a simple question

    +=,-=,*=,/= are special type of assignment operators. E.g:- a+=b means a=a+b a-=b means a=a-b a*=b means a=a*b a/=b means a=a/b Thnak U for giving this opportunity.
  6. NadadurSreedhar

    sparsematrix

    Sparse matrix is one which consists of many zero's in it. To reduce the memory we will convert the matrix as sparse matrix. E.g:- 1 0 0 0 2 0 3 0 0 The sparse mtarix for the above is row cloumn value 1 1 1 2 2 2 3 1 3 For more details...
  7. NadadurSreedhar

    please help!

    friend in earlier program in the last for loop some mistake is there due to typing mistake. the last for loop in the program is for(k=0;k<a;k++) putchar('*'); but it should be for(k=0;k<a[i];k++) putchar('*'); sorry for the type of inconvience.
  8. NadadurSreedhar

    Function for Alphanumberic Sorting of An Array of Character Arrays

    Dear friend, Why don't use qsort which is a library routine of stdlib.h.
  9. NadadurSreedhar

    please help!

    I hope the following Program may help U. #include<stdio.h> int main(void) { i,j,k,a[9]={1,3,5,7,9,7,5,3,1}; for(i=0;i<9;i++)//loop for stars { putchar('\n'); if(i<=4) { for(j=0;j<10-a[i]+i;j++)//loop for spaces for first 5 lines putchar(' '); } else...

Part and Inventory Search

Back
Top