main()
{
intj;
while9j<=10)
{
printf("\n%d",j);
j=j+1;
}
}
Answers were Sorted based on User's Feedback
Answer / ritesh kumar
Since variable j is not initialised it will contain garbage
value hence the output(imposed on the while loop condition)
may be unexpected ..
Is This Answer Correct ? | 12 Yes | 1 No |
what's the o/p int main(int n, char *argv[]) { char *s= *++argv; puts(s); exit(0); }
main difference between c and c++ language
Differentiate between functions getch() and getche().
What is volatile keyword in c?
What are header files? What are their uses?
What is pre-emptive data structure and explain it with example?
what is the difference between entry control and exit control statement?
12 Answers Darbari Lal DAV Model School,
main() { int a[3][4] ={1,2,3,4,5,6,7,8,9,10,11,12} ; int i, j , k=99 ; for(i=0;i<3;i++) for(j=0;j<4;j++) if(a[i][j] < k) k = a[i][j]; printf("%d", k); }
4 Answers Vector, Wipro, Zoho,
What are the different data types in C?
Explain what is wrong with this program statement? Void = 10;
what is diffrence between linear and binary search in array respect to operators?what kind of operator can be used in both seach methods?
What is difference between far and near pointers?