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
What is a pointer on a pointer in c programming language?
main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }
C program execution always begins with a) #include b) comment (/*-------*/) c) main() d) declaration instructions
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
What is the purpose of sprintf?
Are bit fields portable?
i want to know the procedure of qualcomm for getting a job through offcampus
Explain what does the characters 'r' and 'w' mean when writing programs that will make use of files?
What is the use of typedef in c?
Can we initialize extern variable in c?
Can you return null in c?
How do I read the arrow keys? What about function keys?
How can I discover how many arguments a function was actually called with?
What are the two types of functions in c?