Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);
No. of times the loop is executed ?
Answer Posted / manishsoni
The program is as:
------------------------------------------------------------
#include<stdio.h>
#include<conio.h>
int main()
{
unsigned char c;
for(c=0;c!=256;c++2)
{
printf("%d",c);
printf("\n");
}
getch();
}
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
How important is structure in life?
What is c language used for?
Explain the use of 'auto' keyword
Explain the properties of union. What is the size of a union variable
What is a null pointer assignment error? What are bus errors, memory faults, and core dumps?
Does c have circular shift operators?
Explain what is a program flowchart and explain how does it help in writing a program?
Combinations of fibanocci prime series
What are different types of pointers?
Write a code to determine the total number of stops an elevator would take to serve N number of people.
Differentiate between the expression “++a” and “a++”?
What is the difference between break and continue?
a function gets called when the function name is followed by a a) semicolon (;) b) period(.) c) ! d) none of the above
which of the following shows the correct hierarchy of arithmetic operations in C a) (), **, * or/,+ or - b) (),**,*,/,+,- c) (),**,/,*,+,- d) (),/ or *,- or +
what is use of malloc and calloc?