# Search:

Type: Posts; User: vapanchamukhi

Page 1 of 2 1

1. ## Thread: which among the following two for loops is faster?

by vapanchamukhi
Replies
11
Views
1,693

### 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. ## Thread: which among the following two for loops is faster?

by vapanchamukhi
Replies
11
Views
1,693

### 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. ## Thread: which among the following two for loops is faster?

by vapanchamukhi
Replies
11
Views
1,693

### 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. ## Thread: which among the following two for loops is faster?

by vapanchamukhi
Replies
11
Views
1,693

### 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. ## Thread: which among the following two for loops is faster?

by vapanchamukhi
Replies
11
Views
1,693

### 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. ## Thread: what is the value of EOF?

by vapanchamukhi
Replies
5
Views
29,998

### 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. ## Thread: why the control goes to else part in this program

by vapanchamukhi
Replies
2
Views
1,483

### 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. ## Thread: mysql API in c

by vapanchamukhi
Replies
1
Views
1,598

### 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. ## Thread: loop question

by vapanchamukhi
Replies
8
Views
1,174

### 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. ## Thread: loop question

by vapanchamukhi
Replies
8
Views
1,174

### 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,517

### 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,517

### 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. ## Thread: stray characters...

by vapanchamukhi
Replies
3
Views
2,458

### what are those UNICODE and non unicode...

what are those UNICODE and non unicode characters????
14. ## Thread: stray characters...

by vapanchamukhi
Replies
3
Views
2,458

### stray characters...

following is my header file....

#ifndef __ACKRV__
#define __ACKRV__
#include <stdio.h>
unsigned char ack_check(adt *);
#endif
15. ## Thread: incompatible types in assignment

by vapanchamukhi
Replies
6
Views
4,971

### 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. ## Thread: checking if int when using scanf. Help!

by vapanchamukhi
Replies
4
Views
2,335

### there is a library function called isdigit(). you...

there is a library function called isdigit(). you have to include string.h header file.
17. ## Thread: incompatible types in assignment

by vapanchamukhi
Replies
1
Views
1,698

### incompatible types in assignment

what is the meaning of incompatible types in assignment.
18. ## Thread: incompatible types in assignment

by vapanchamukhi
Replies
6
Views
4,971

### 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. ## Thread: incompatible types in assignment

by vapanchamukhi
Replies
6
Views
4,971

### incompatible types in assignment

following is main function of my program

#include<stdio.h>

main()
{
unsigned char crc;
unsigned char ar;
20. ## Thread: free function

by vapanchamukhi
Replies
2
Views
1,546

### free function

does a content of a pointer is zero after freeing that pointer???
21. ## Thread: interfacing c and java..

by vapanchamukhi
Replies
4
Views
1,571

### 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. ## Thread: global variables.

by vapanchamukhi
Replies
5
Views
2,025

### then what is the difference between bss and...

then what is the difference between bss and initialised segments?
23. ## Thread: global variables.

by vapanchamukhi
Replies
5
Views
2,025

### global variables.

does always global variables are initialised to 0?
if not how to initialise an array to zero value in the global..
24. ## Thread: stuffing the input bitwise

by vapanchamukhi
Replies
4
Views
1,590

### 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. ## Thread: stuffing the input bitwise

by vapanchamukhi
Replies
4
Views
1,590

### 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