Dot Net Code (114)
Visual Basic Code (11)
Programming Code AllOther (62) main( ) { void *vp; char ch = ‘g’, *cp = “goofy”; int j = 20; vp = &ch; printf(“%c”, *(char *)vp); vp = &j; printf(“%d”,*(int *)vp); vp = cp; printf(“%s”,(char *)vp + 3); }
1 13661main ( ) { static char *s[ ] = {“black”, “white”, “yellow”, “violet”}; char **ptr[ ] = {s+3, s+2, s+1, s}, ***p; p = ptr; **++p; printf(“%s”,*--*++p + 3); }
1 8149what will be the position of the file marker? a: fseek(ptr,0,SEEK_SET); b: fseek(ptr,0,SEEK_CUR);
2 12275What is the problem with the following code segment? while ((fgets(receiving array,50,file_ptr)) != EOF) ;
1 7569main() { char *str1="abcd"; char str2[]="abcd"; printf("%d %d %d",sizeof(str1),sizeof(str2),sizeof("abcd")); }
1 12659#define FALSE -1 #define TRUE 1 #define NULL 0 main() { if(NULL) puts("NULL"); else if(FALSE) puts("TRUE"); else puts("FALSE"); }
1 10803
write a simple calculator c program to perform addition, subtraction, mul and div.
A suduco given & u hv 2 check if it is incomplete(blanks left),or correct or incorrect
Can we run Applet in Web browser with security policy files
Given a spherical surface, write bump-mapping procedure to generate the bumpy surface of an orange
Write code that allows to create only one instance of a class?
Could u please tell me any UNIX scripts that 'll lead to find the network latency of the servers.?or else any unix command to find the network latency of a server?Thnx in advance...
Implement a command console for changing settings on a particular object. The command console should allow you to enter a string and will return the response (very similar to a terminal session). The commands are as follows: SET propertyname=newvalue will change the target object’s member named “propertyname” to have a value equal to “newvalue”. If the input value is incompatible (i.e. an int being set to a string), print out an appropriate error message. GET propertyname will print out the current value of the target object’s member named “propertyname”. GET * will print out a list of all target object members and their current values. The system should be extensible for future commands and should accept an arbitrary object, such that another developer could insert another object into the system and rely on the command console to get and set the properties correctly.
Code for IP Address Comparison and Conversion in C#?
What is the functionality of GetDesktopWindow?
Code for Small C++ Class to Transform Any Static Control into a Hyperlink Control?
How can I create connection two blue-tooth mobile in j2me. please urgent
write a function that allocates memory for a single data type passed as a parameter.the function uses the new operator and return a pointer to the allocated memory.the function must catch and handle any exception during allocation
What is the match merge ? compare data step match merge with proc sql merge - how many types are there ? data step vs proc sql
Design a timer circuit using VHDL which has the following: input : start_timer(ST) output: long_time(LT) short_time(ST) when the timer is triggered by the ST(either 0 or 1) signal the timer should generate two timing signals accordingly.While the long time is going ON the other should be OFF and vice versa.
program for straight line(y=mx+c)