main()
{
int i,j,A;
for(A=-1;A<=1;A++)
prinf("%d\t",!!A);
}
Answer Posted / kimi
1 0 1
| Is This Answer Correct ? | 6 Yes | 1 No |
Post New Answer View All Answers
what are bit fields? What is the use of bit fields in a structure declaration?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
Can a variable be both constant and volatile?
how is the examination pattern?
What is new line escape sequence?
Explain how can I pad a string to a known length?
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); }
Write a program that accept anumber in words
What is a char in c?
What is the difference between procedural and functional programming?
What is wrong in this statement?
Explain what are run-time errors?
is it possible to create your own header files?
Can you mix old-style and new-style function syntax?
Distinguish between actual and formal arguments.