void main()
{
int a=1;
while(a++<=1)
while(a++<=2);
}
Answers were Sorted based on User's Feedback
Answer / sabir
this program execute at one both while are working becouse
a++ increase value after while statement that by both are
execute at once
| Is This Answer Correct ? | 13 Yes | 1 No |
Answer / madhavi
1<=1, a=2 (true)(first while)
2<=2,a=3 (true)(second while)
3<=3,a=4 (false)(second while)
4<=1,a=5 (false)(first while)
the loops are in nesting ,the second while is the loop body
of the first while loop
| Is This Answer Correct ? | 5 Yes | 0 No |
Answer / venkatapradeep774
ans:5...i need an explaination for this tat how it will be 5.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / dheerendra
it gives error,
because any loop can't be terminated by ';'
| Is This Answer Correct ? | 0 Yes | 3 No |
int arr[] = {1,2,3,4} int *ptr=arr; *(arr+3) = *++ptr + *ptr++; Final contents of arr[]
What does the c preprocessor do?
the operator for exponencation is a.** b.^ c.% d.not available
Explain how do you view the path?
write a programme to enter some number and find which number is maximum and which number is minimum from enterd numbers.
c program for searching a student details among 10 student details
What is keyword in c?
what is the difference between definition and declaration? give me some examples.
wat is the difference between a definition and declaration? float y;---it looks like a declaration..but it s a definition.how?someone explain
What is the collection of communication lines and routers called?
what is the self-referential structure?
plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.