main()
{
int i=10;
i=!i>14;
Printf ("i=%d",i);
}
Answer / susie
Answer :
i=0
Explanation:
In the expression !i>14 , NOT (!) operator has
more precedence than ‘ >’ symbol. ! is a unary logical
operator. !i (!10) is 0 (not of true is false). 0>14 is
false (zero).
Is This Answer Correct ? | 71 Yes | 4 No |
print a semicolon using Cprogram without using a semicolon any where in the C code in ur program!!
35 Answers Tata Elxsi, TCS, VI eTrans,
main() { char *p; int *q; long *r; p=q=r=0; p++; q++; r++; printf("%p...%p...%p",p,q,r); }
main(){ unsigned int i; for(i=1;i>-2;i--) printf("c aptitude"); }
main() { int x=5; for(;x!=0;x--) { printf("x=%d\n", x--); } } a. 5, 4, 3, 2,1 b. 4, 3, 2, 1, 0 c. 5, 3, 1 d. none of the above
Write a program that reads a dynamic array of 40 integers and displays only even integers
4. Main() { Int i=3,j=2,c=0,m; m=i&&j||c&I; printf(“%d%d%d%d”,I,j,c,m); }
What are the files which are automatically opened when a C file is executed?
main() { extern int i; i=20; printf("%d",i); }
Is it possible to type a name in command line without ant quotes?
main() { printf("%x",-1<<4); }
String copy logic in one line.
There were 10 records stored in “somefile.dat” but the following program printed 11 names. What went wrong? void main() { struct student { char name[30], rollno[6]; }stud; FILE *fp = fopen(“somefile.dat”,”r”); while(!feof(fp)) { fread(&stud, sizeof(stud), 1 , fp); puts(stud.name); } }