int a=1;
printf("%d %d %d",a++,a++,a);
need o/p in 'c' and what explanation too
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.
int aaa() {printf(“Hi”);} int bbb(){printf(“hello”);} iny ccc(){printf(“bye”);} main() { int ( * ptr[3]) (); ptr[0] = aaa; ptr[1] = bbb; ptr[2] =ccc; ptr[2](); }
Code for 1>"ascii to string" 2>"string to ascii"
1 Answers Aricent, Global Logic,
Write a C function to search a number in the given list of numbers. donot use printf and scanf
main() { int i=0; for(;i++;printf("%d",i)) ; printf("%d",i); }
How will u find whether a linked list has a loop or not?
How can you relate the function with the structure? Explain with an appropriate example.
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
write a c program to input initial & final time in the format hh:mm and find the time intervel between them? Ex inputs are initial 06:30 final 00:05 and 23:22 final 22.30
int DIM(int array[]) { return sizeof(array)/sizeof(int ); } main() { int arr[10]; printf(“The dimension of the array is %d”, DIM(arr)); }
Write a function to find the depth of a binary tree.
13 Answers Adobe, Amazon, EFI, Imagination Technologies,
main() { int i=-1; +i; printf("i = %d, +i = %d \n",i,+i); }