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
Why main function is special give two reasons?
why programs in c are running with out #include
What is an operator?
What is the difference between procedural and declarative language?
Write a program to compute the similarity between two strings - The program should get the two strings as input - Then it will output one single number which is the percentage of similarity between the two strings
a direct address that identifies a location by means of its displacement from a base address or segment a) absolute address b) relative address c) relative mode d) absolute mode
Write a program to input the price of 1 burger and the number of burgers eaten by a group of friends .print the total amount to be paid by the group?
What are # preprocessor operator in c?
What is auto keyword in c?
What does the format %10.2 mean when included in a printf statement?
What is a macro, and explain how do you use it?
What is define directive?
What does sizeof int return?
Write a program for finding factorial of a number.
Tell me what is the purpose of 'register' keyword in c language?