Which of the following is not an infinite loop ?
a.while(1){
....
}
b.for(;;){
...
}
c.x=0;
do{
/*x unaltered within theloop*/
...
}while(x==0);
d.# define TRUE 0
...
while(TRUE){
....
}
Post New Answer View All Answers
What is the purpose of the preprocessor directive error?
how should functions be apportioned among source files?
What is the method to save data in stack data structure type?
1) There is a singing competition for children going to be conducted at a local club. Parents have been asked to arrive at least an hour before and register their children’s names with the Program Manager. Whenever a participant registers, the Program Manager has to position the name of the person in a list in alphabet order. Write a program to help the Program Manager do this by placing the name in the right place each time the Program Manger enters a name. 2) the Event Manager has to send participants to the stage to perform in the order in which they registered. Write a program that will help the Event Manager know who to call to the stage to perform. The Logic should be in Data Structures
Why do we use static in c?
Can you add pointers together? Why would you?
write a program fibonacci series and palindrome program in c
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
The number of bytes of storage occupied by short, int and long are a) 2, 2 and 4 b) 2, 4 and 4 c) 4, 4 and 4 d) none
How can you restore a redirected standard stream?
What’s the special use of UNIONS?
Who invented bcpl language?
Find duplicates in a file containing 6 digit number (like uid) in O (n) time.
what are bit fields in c?
What is sizeof c?