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
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
How will you print TATA alone from TATA POWER using string copy and concate commands in C?
What is volatile keyword in c?
Are there any problems with performing mathematical operations on different variable types?
What is the modulus operator?
What is the size of array float a(10)?
Why we use void main in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
How do you do dynamic memory allocation in C applications?
What are the different file extensions involved when programming in C?
Explain continue keyword in c
can anyone suggest some site name..where i can get some good data structure puzzles???
Explain the difference between null pointer and void pointer.
Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"
What is structure packing in c?