how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf("Hi\n");

Answer Posted / altaf khan

it will give an error becoz in place of condition it is given a statement which does not returns boolean value

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we declare a function inside a function in c?

580


Explain what does the format %10.2 mean when included in a printf statement?

773


what are non standard function in c

1431


What is the difference between functions abs() and fabs()?

643


What is #line used for?

576






Differentiate between #include<...> and #include '...'

615


What is putchar() function?

633


Synonymous with pointer array a) character array b) ragged array c) multiple array d) none

613


How do I copy files?

619


How many keywords are there in c?

586


What are the types of data types and explain?

665


What are the features of the c language?

640


program to convert a integer to string in c language'

1981


Explain can static variables be declared in a header file?

674


Should I learn data structures in c or python?

576