Search:

Type: Posts; User: prasath

Search: Search took 0.00 seconds.

  1. Replies
    2
    Views
    1,025

    Reqd clarification

    Can someone tell me what is difference between using



    #pragma pack(push,aaa, 1)

    struct check
    {
    int a;
    char b;
  2. Replies
    4
    Views
    3,666

    reasons why malloc fails?

    hi,

    will someone point me the reasons why a call to malloc fails even if we have enough memory ?
  3. Replies
    3
    Views
    1,110

    Hi, you have used a uppercase letter(pointed...

    Hi,

    you have used a uppercase letter(pointed by orange color) in printf statement, that's why you are getting an linker error




    switch (answer) {
    case 'Y':
    ...
  4. Replies
    4
    Views
    1,138

    Hi xhoangx, i think the mistake u made is...

    Hi xhoangx,

    i think the mistake u made is checking the values in if statement.if u want to compare some value that should be in single quotes(' ') or else it will take the equavalent...
  5. Replies
    4
    Views
    1,138

    When ENTER key is pressed, it returns a newline...

    When ENTER key is pressed, it returns a newline character ('\n').just check for the new line character and proceed.And make sure the variable yor collecting the input should be of type CHAR or...
  6. Replies
    7
    Views
    3,879

    where you have declared "i" ? why you are...

    where you have declared "i" ?
    why you are incrementing "i" instead of "pos"?

    if u have answers for the above questions, ur problem is over


    for (pos=0; i<TOTAL; i++)
    if (course_id ==...
  7. Replies
    3
    Views
    1,058

    In scanf function,Each argument must be a pointer...

    In scanf function,Each argument must be a pointer to a variable of a type that corresponds to a type specifier in format.

    *(Trial+(i+j)) dereferences and fetch the value at that address.


    ...
  8. Replies
    16
    Views
    27,304

    This function returns the actual size of the...

    This function returns the actual size of the file.i hope this will help u


    ulong findlengthof(FILE *fp)
    {
    ulong start,end;
    start = ftell(fp);
    fseek( fp, 0, SEEK_END );
    end = ftell(fp);...
  9. Replies
    20
    Views
    3,026

    Just check which one is greater and find out the...

    Just check which one is greater and find out the difference accordingly.this solves the negative problem




    yarea>harea ? (grasqyd = yarea - harea) : (grasqyd = harea - yarea);
  10. Replies
    20
    Views
    3,026

    grasqyd = yarea - harea; I made the...

    grasqyd = yarea - harea;




    I made the change but I'm still getting -2682.00000 seconds for an
    answer.
  11. Replies
    11
    Views
    1,540

    In Case of Visual c++, the order of evaluation...

    In Case of Visual c++, the order of evaluation will from right to left and on the precedence of operators



    #include <stdio.h>

    int main(void)
    {
    int a = 5;
  12. Replies
    7
    Views
    1,550

    i didn't understand ur question. I assume this...

    i didn't understand ur question.

    I assume this may be the answer for the question

    argv[0] parameter hold the fully qualified path name of the program ur running
Results 1 to 12 of 15