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 |
how to check whether a linked list is circular.
main(int argc, char **argv) { printf("enter the character"); getchar(); sum(argv[1],argv[2]); } sum(num1,num2) int num1,num2; { return num1+num2; }
main() { int c = 5; printf("%d", main||c); } a. 1 b. 5 c. 0 d. none of the above
Give a one-line C expression to test whether a number is a power of 2.
How we will connect multiple client ? (without using fork,thread)
main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }
How we print the table of 2 using for loop in c programing?
Write a C program to print look and say sequence? For example if u get the input as 1 then the sequence is 11 21 1211 111221 312211 12112221 .......(it counts the no. of 1s,2s etc which is in successive order) and this sequence is used in run-length encoding.
All the combinations of prime numbers whose sum gives 32
How to return multiple values from a function?
main() { char a[4]="HELLO"; printf("%s",a); }
How to use power function under linux environment.eg : for(i=1;i<=n;i++){ pow(-1,i-1)} since it alerts undefined reference to 'pow'.