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
Does c have circular shift operators?
In which language linux is written?
write a program to print largest number of each row of a 2D array
What are the characteristics of arrays in c?
How many types of arrays are there in c?
What is a class c rental property?
Can main () be called recursively?
What is c method?
How can I determine whether a machines byte order is big-endian or little-endian?
The statement, int(*x[]) () what does in indicate?
What is meant by type casting?
What is the use of a semicolon (;) at the end of every program statement?
what are bit fields? What is the use of bit fields in a structure declaration?
Can you please explain the scope of static variables?
write a program that reads lines(using getline), converts each line to an integer using atoi, and computes the average of all the numbers read. also compute the standard deviation.