main()
{
int i =0;j=0;
if(i && j++)
printf("%d..%d",i++,j);
printf("%d..%d,i,j);
}
Answer / susie
Answer :
0..0
Explanation:
The value of i is 0. Since this information is enough to
determine the truth value of the boolean expression. So the
statement following the if statement is not executed. The
values of i and j remain unchanged and get printed.
Is This Answer Correct ? | 13 Yes | 7 No |
program to Reverse a linked list
12 Answers Aricent, Microsoft, Ness Technologies,
main(int argc, char **argv) { printf("enter the character"); getchar(); sum(argv[1],argv[2]); } sum(num1,num2) int num1,num2; { return num1+num2; }
posted by surbhi just now main() { float a = 5.375; char *p; int i; p=(char*)&a; for(i=0;i<=3;i++) printf("%02x",(unsigned char) p[i]); } how is the output of this program is :: 0000ac40 please let me know y this output has come
main() { extern int i; i=20; printf("%d",sizeof(i)); }
main() { char *p = "hello world"; p[0] = 'H'; printf("%s", p); } a. Runtime error. b. “Hello world” c. Compile error d. “hello world”
main() { int c=- -2; printf("c=%d",c); }
write a program for area of circumference of shapes
Find the largest number in a binary tree
Write a procedure to implement highlight as a blinking operation
PROG. TO PRODUCE 1 1 1 1 2 1 1 3 3 1 1 4 6 4 1
what is brs test reply me email me kashifabbas514@gmail.com
write a c program to print magic square of order n when n>3 and n is odd?