Cluster head selection in Wireless Sensor Network using C programming language.
No Answer is Posted For this Question
Be the First to Post Answer
main() { int i=5,j=10; i=i&=j&&10; printf("%d %d",i,j); }
main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
Write a function to find the depth of a binary tree.
13 Answers Adobe, Amazon, EFI, Imagination Technologies,
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.
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
main() { int a[10]; printf("%d",*a+1-*a+3); }
Write a routine that prints out a 2-D array in spiral order
#define f(g,g2) g##g2 main() { int var12=100; printf("%d",f(var,12)); }
main() { unsigned int i=10; while(i-->=0) printf("%u ",i); }
Code for 1>"ascii to string" 2>"string to ascii"
1 Answers Aricent, Global Logic,
how to return a multiple value from a function?
write a c-program to display the time using FOR loop