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
which of the following is allowed in a "C" arithematic instruction a) [] b) {} c) () d) none of the above
Given below are three different ways to print the character for ASCII code 88. Which is the correct way1) char c = 88; cout << c << " ";2) cout.put(88);3) cout << char(88) << " "; a) 1 b) 2 c) 3 d) constant
What does c value mean?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
write a program to concatenation the string using switch case?
What is 2c dna?
How can you increase the allowable number of simultaneously open files?
Explain can you assign a different address to an array tag?
What is the difference between printf and scanf )?
the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none
What does *p++ do? What does it point to?
Explain the difference between the local variable and global variable in c?
What is assert and when would I use it?
Differentiate between a structure and a union.
void main(){ int a; a=1; while(a-->=1) while(a-->=0); printf("%d",a); }