main()
{
char *p;
p="%d\n";
p++;
p++;
printf(p-2,300);
}
Answer / susie
Answer :
300
Explanation:
The pointer points to % since it is incremented twice and
again decremented by 2, it points to '%d\n' and 300 is printed.
| Is This Answer Correct ? | 8 Yes | 1 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,
how to swap 3 nos without using temporary variable
main() { extern i; printf("%d\n",i); { int i=20; printf("%d\n",i); } }
int DIM(int array[]) { return sizeof(array)/sizeof(int ); } main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr)); }
How can u say that a given point is in a triangle? 1. with the co-ordinates of the 3 vertices specified. 2. with only the co-ordinates of the top vertex given.
#include<stdio.h> main() { int i=1,j=2; switch(i) { case 1: printf("GOOD"); break; case j: printf("BAD"); break; } }
main() { int i=400,j=300; printf("%d..%d"); }
main() { int i=_l_abc(10); printf("%d\n",--i); } int _l_abc(int i) { return(i++); }
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
union u { union u { int i; int j; }a[10]; int b[10]; }u; main() { printf("\n%d", sizeof(u)); printf(" %d", sizeof(u.a)); // printf("%d", sizeof(u.a[4].i)); } a. 4, 4, 4 b. 40, 4, 4 c. 1, 100, 1 d. 40 400 4
Finding a number multiplication of 8 with out using arithmetic operator
void main() { static int i; while(i<=10) (i>2)?i++:i--; printf(“%d”, i); }