Search:

Type: Posts; User: vapanchamukhi

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. i used to think that if some loop is an infinite...

    i used to think that if some loop is an infinite loop then it consumes much of cpu resources. so i thought second one is the answer. but now here i got the answer that its application dependent. i...
  2. so its application dependent... so what is the...

    so its application dependent... so what is the answer if the question is which among the two for loop instances consumes less cpu resources. then i think second one is the answer.
  3. both the for loops, i believe, takes same amount...

    both the for loops, i believe, takes same amount of time to reach the 10000th loop. at that perticular time second for loop terminates and the first one keeps on looping. i believe as the first one...
  4. So can we say that its application...

    So can we say that its application dependent....... as you said the first for loop instance does unnecessary work after completing the task then it still is consuming the cpu time and resources where...
  5. which among the following two for loops is faster?

    please some body tell me which among these for loops is faster???

    1)for(i = 0; i < 100; i++)
    for(j = 0; i < 100; j++)
    printf("first instance of for loop");

    2) for(i = 0;...
  6. Replies
    5
    Views
    30,963

    what is the value of EOF?

    I checked the value of EOF and found that its value is -1.In dennis ritchie it is given that we need to take a variable which should be big enough to hold EOF value.... thats because he has taken...
  7. why the control goes to else part in this program

    main()
    {
    float flt 1.1;
    double dbl 1.1;

    if(flt == dbl)
    printf("hi");
    else
    printf("hello");
    }
  8. Replies
    1
    Views
    1,812

    mysql API in c

    I searched net for mysql API for c but i dint find that library.... please any body tell me where can i get APIes.....
  9. Replies
    8
    Views
    1,359

    that is also the application dependent... he...

    that is also the application dependent... he might not change the values of x and y till some iterations. and after he may change the values of x and y.... at that particular moment the for loop...
  10. Replies
    8
    Views
    1,359

    in your for loop, above, no need to put...

    in your for loop, above, no need to put parenthesis and thats application dependent. your for continues to work till x and y values remain 1. the moment their value changes the for loop exits.....
  11. Thread: pipe

    by vapanchamukhi
    Replies
    2
    Views
    1,955

    ya i got it... thanx... i will consider your...

    ya i got it... thanx... i will consider your advice of not to use casting..
  12. Thread: pipe

    by vapanchamukhi
    Replies
    2
    Views
    1,955

    pipe

    i have written the following program. The function of this prog is to read data from a file(source.c) and write into another file(dest.c) using pipes. I have just written a line in the source file.Im...
  13. Replies
    3
    Views
    3,040

    what are those UNICODE and non unicode...

    what are those UNICODE and non unicode characters????
  14. Replies
    3
    Views
    3,040

    stray characters...

    following is my header file....


    #ifndef __ACKRV__
    #define __ACKRV__
    #include <stdio.h>
    #include ”header.h”
    unsigned char ack_check(adt *);
    #endif
  15. Replies
    6
    Views
    5,449

    This is my slide function... i have taken 'f' as...

    This is my slide function... i have taken 'f' as a variable of frame type. and slide function is returning this 'f' which is of frame type.... so in the main function also im receiving this in a...
  16. there is a library function called isdigit(). you...

    there is a library function called isdigit(). you have to include string.h header file.
  17. Replies
    1
    Views
    1,995

    incompatible types in assignment

    what is the meaning of incompatible types in assignment.
  18. Replies
    6
    Views
    5,449

    thats my main header file.... for each function...

    thats my main header file.... for each function one library is created and also a header file. in that the function prototypes are declared....
  19. Replies
    6
    Views
    5,449

    incompatible types in assignment

    following is main function of my program


    #include<stdio.h>
    #include"header.h"

    main()
    {
    unsigned char crc;
    unsigned char ar;
  20. Replies
    2
    Views
    1,805

    free function

    does a content of a pointer is zero after freeing that pointer???
  21. Replies
    4
    Views
    1,778

    interfacing c and java..

    i am doing a project in c... but it needs GUI at user side....designing GUI using C language i heard that its very difficult... so i thought of doing the GUI using java program.... so now i have to...
  22. Replies
    5
    Views
    2,332

    then what is the difference between bss and...

    then what is the difference between bss and initialised segments?
  23. Replies
    5
    Views
    2,332

    global variables.

    does always global variables are initialised to 0?
    if not how to initialise an array to zero value in the global..
  24. Replies
    4
    Views
    1,805

    for pointer ch i have reserved only 1 byte.......

    for pointer ch i have reserved only 1 byte.... and as you said for the characters like ~ etc... which has 6 consecutive 1s giving wrong answer... for rest of the inputs it gives right answer...
  25. Replies
    4
    Views
    1,805

    i did ch1[j] >>= 1; because every time ch1 gets a...

    i did ch1[j] >>= 1; because every time ch1 gets a bit it makes room for another bit next time... so at last also it makes room for one more bit. which will lead to wrong answer... so for that reason...
Results 1 to 25 of 46
Page 1 of 2 1 2