What is the output of the program given below
#include<stdio.h>
main()
{
char i=0;
for(;i>=0;i++) ;
printf("%d\n",i);
}
Answer Posted / deepanjali
infinte loop
| Is This Answer Correct ? | 4 Yes | 10 No |
Post New Answer View All Answers
Explain what is the benefit of using enum to declare a constant?
the statement while(i) puts the entire logic in loop. this loop is called a) indefinite loop b) definite loop c) loop syntax wrong d) none of the above
Explain bitwise shift operators?
What is a far pointer in c?
What is the argument of a function in c?
Differentiate fundamental data types and derived data types in C.
What is a shell structure examples?
Why main function is special give two reasons?
What are qualifiers and modifiers c?
What is nested structure with example?
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
What are the features of c language?
Create a registration form application by taking the details like username, address, phone number, email with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 3 users and display the details. While taking input password must appear as “****”.
What is an lvalue in c?
Why do we use main function?