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
write a program to print the consecutive repeated character from the given string... input string is : hhhhjkutskkkkkggggj output should be like this: hhhhkkkkkgggg anyone help me...
Define macros.
Write a program on swapping (100, 50)
Are pointers really faster than arrays?
Do character constants represent numerical values?
How to write a multi-statement macro?
Where are local variables stored in c?
How is a pointer variable declared?
What is the deal on sprintf_s return value?
What is d scanf?
What is 2c dna?
What math functions are available for integers? For floating point?
Explain how can I pad a string to a known length?
What do you mean by dynamic memory allocation in c? What functions are used?
Explain the process of converting a Tree into a Binary Tree.