main()
{
int i=5,j=10;
i=i&=j&&10;
printf("%d %d",i,j);
}
Answer / susie
Answer :
1 10
Explanation:
The expression can be written as i=(i&=(j&&10)); The inner
expression (j&&10) evaluates to 1 because j==10. i is 5. i =
5&1 is 1. Hence the result.
Is This Answer Correct ? | 12 Yes | 4 No |
main() { extern int i; { int i=20; { const volatile unsigned i=30; printf("%d",i); } printf("%d",i); } printf("%d",i); } int i;
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
main() { int y; scanf("%d",&y); // input given is 2000 if( (y%4==0 && y%100 != 0) || y%100 == 0 ) printf("%d is a leap year"); else printf("%d is not a leap year"); }
write a c program to Create a registration form application by taking the details like username, address, phone number, email along with password and confirm password (should be same as password).Ensure that the password is of 8 characters with only numbers and alphabets. Take such details for 5 users and display the details. In place of password display “****”. (Use Structures).
0 Answers CDAC, College School Exams Tests,
could you please send the program code for multiplying sparse matrix in c????
main() { float f=5,g=10; enum{i=10,j=20,k=50}; printf("%d\n",++k); printf("%f\n",f<<2); printf("%lf\n",f%g); printf("%lf\n",fmod(f,g)); }
write a c-program to find gcd using recursive functions
what is brs test reply me email me kashifabbas514@gmail.com
Extend the sutherland-hodgman clipping algorithm to clip three-dimensional planes against a regular paralleiepiped
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
Write a c program to search an element in an array using recursion