what will be the output of this program
main()
{
int i=1;
while (i<=10);
{
i++;
}
}
Answer Posted / niranjan kumar niraj
output is 1
| Is This Answer Correct ? | 1 Yes | 2 No |
Post New Answer View All Answers
What is .obj file in c?
What does. int *x[](); means ?
What is ## preprocessor operator in c?
What’s the special use of UNIONS?
How many parameters should a function have?
write a program to concatenation the string using switch case?
How can you restore a redirected standard stream?
What math functions are available for integers? For floating point?
Write a C program that will accept a hexadecimal number as input and then display a menu that will permit any of the following operations to be carried out: Display the hexadecimal equivalent of the one's complement. (b) Carry out a masking operation and then display the hexadecimal equivalent of the result. (c) Carry out a bit shifting operation and then display the hexadecimal equivalent of the result. (d) Exit. If the masking operation is selected, prompt the user lor the type of operation (bitwise and, bitwise exclusive or, or bitwise or) and then a (hexadecimal) value for the mask. If the bit shifting operation is selected. prompt the user for the type of shift (left or right), and then the number of bits. Test the program with several different (hexadecimal) input values of your own choice.
How is a null pointer different from a dangling pointer?
Explain what is the stack?
Is exit(status) truly equivalent to returning the same status from main?
What is identifier in c?
What does sizeof int return?
Write a c program to demonstrate character and string constants?