Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);
No. of times the loop is executed ?
Answer Posted / manish soni
IT SHOW ACTUAL O/P.
main()
{
int c;
int i=1;
for ( c=0;c!=256;c+=2)
{
printf("%d=%d\n",i,c);
i++;
}
getch();
}
MANISH SONI
[GYAN CORPORATION,CHANDIGARH]
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
FILE *fp1,*fp2; fp1=fopen("one","w") fp2=fopen("one","w") fputc('A',fp1) fputc('B',fp2) fclose(fp1) fclose(fp2)} a.error b. c. d.
What is a string?
What are the different types of constants?
What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?
Why clrscr is used after variable declaration?
The statement, int(*x[]) () what does in indicate?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
Is it possible to initialize a variable at the time it was declared?
What are the features of the c language?
What is the value of c?
What is the role of this pointer?
Process by which one bit pattern in to another by bit wise operation is?
What is external variable in c?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
Can we access array using pointer in c language?