Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);

No. of times the loop is executed ?

Answer Posted / shalabh

This will be an infinite loop as the value of unsigned char
cannot exceed 255....c++2 can be errornous..but the value
of unsigned char cannot go beyond 255

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is that possible to store 32768 in an int data type variable?

1038


What are local static variables? How can you use them?

1091


What is a const pointer in c?

1086


What is wrong in this statement? scanf(ā€œ%dā€,whatnumber);

1198


Should I learn c before c++?

1184


Find MAXIMUM of three distinct integers using a single C statement

1018


Here is a neat trick for checking whether two strings are equal

980


Why main function is special give two reasons?

1499


Explain what would happen to x in this expression: x += 15; (assuming the value of x is 5)

1232


How to implement a packet in C

2846


Write a program to print factorial of given number without using recursion?

962


What are header files in c?

1036


What are the advantages of using linked list for tree construction?

1037


Write a program on swapping (100, 50)

1074


Is multithreading possible in c?

956