main()
{
unsigned int i=65000;
while(i++!=0);
printf("%d",i);
}
Answer / susie
Answer :
1
Explanation:
Note the semicolon after the while statement. When the value
of i becomes 0 it comes out of while loop. Due to
post-increment on i the value of i while printing is 1.
| Is This Answer Correct ? | 17 Yes | 5 No |
main() { clrscr(); } clrscr();
Write a function to find the depth of a binary tree.
13 Answers Adobe, Amazon, EFI, Imagination Technologies,
create a C-code that will display the total fare of a passenger of a taxi if the driver press enter,the timer will stop. Every 10 counts is 2 pesos. Initial value is 25.00
how to print 1 2 3 4 5 6 7 8 9 10 9 8 7 6 5 4 3 2 1 using any loop(for or while) only once(only 1 loop) and maximum 2 variables using C.
19 Answers Cap Gemini, Infosys,
Write a program to check whether the number is prime and also check if it there i n fibonacci series, then return true otherwise return false
to remove the repeated cahracter from the given caracter array. i.e.., if the input is SSAD output should of SAD
Is the following code legal? typedef struct a { int x; aType *b; }aType
WAP to display 1,2,3,4,5........N
What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
void main() { int i=5; printf("%d",i+++++i); }
program to find magic aquare using array
x=2 y=3 z=2 x++ + y++; printf("%d%d" x,y);