Unsigned char c;
for ( c=0;c!=256;c++2)
printf("%d",c);
No. of times the loop is executed ?
Answer Posted / prabu
infinite loop executed
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How can I invoke another program (a standalone executable, or an operating system command) from within a c program?
What are the two types of structure?
What are predefined functions in c?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
What is c value paradox explain?
What is the size of structure in c?
What is break statement?
What is a dynamic array in c?
how could explain about job profile
What is 02d in c?
Is there any data type in c with variable size?
Describe newline escape sequence with a sample program?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
Why double pointer is used in c?
What is a pointer value and address in c?