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


Please Help Members By Posting Answers For Below Questions

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.

1205


What is a string?

670


What are the different types of constants?

644


What is a 'null pointer assignment' error? Explain what are bus errors, memory faults, and core dumps?

736


Why clrscr is used after variable declaration?

1045






The statement, int(*x[]) () what does in indicate?

649


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

669


Is it possible to initialize a variable at the time it was declared?

761


What are the features of the c language?

651


What is the value of c?

576


What is the role of this pointer?

555


Process by which one bit pattern in to another by bit wise operation is?

617


What is external variable in c?

618


What would happen to X in this expression: X += 15; (assuming the value of X is 5)

1308


Can we access array using pointer in c language?

650