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() { struct date; struct student { char name[30]; struct date dob; }stud; struct date { int day,month,year; }; scanf("%s%d%d%d", stud.rollno, &student.dob.day, &student.dob.month, &student.dob.year); }
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
int i,j; for(i=0;i<=10;i++) { j+=5; assert(i<5); }
main() { show(); } void show() { printf("I'm the greatest"); }
void main() { char far *farther,*farthest; printf("%d..%d",sizeof(farther),sizeof(farthest)); }
Write a routine that prints out a 2-D array in spiral order
what is oop?
program to find magic aquare using array
Print an integer using only putchar. Try doing it without using extra storage.
Give a oneline C expression to test whether a number is a power of 2?
25 Answers EA Electronic Arts, Google, Motorola,
void main() { int *i = 0x400; // i points to the address 400 *i = 0; // set the value of memory location pointed by i; }
main() { int i = 100; clrscr(); printf("%d", sizeof(sizeof(i))); } a. 2 b. 100 c. 4 d. none of the above