Programming Code (840)
Scripts_Markup Code (257) main() { float f=5,g=10; enum{i=10,j=20,k=50}; printf("%d\n",++k); printf("%f\n",f<<2); printf("%lf\n",f%g); printf("%lf\n",fmod(f,g)); }
1 8275main() { int i=10; void pascal f(int,int,int); f(i++,i++,i++); printf(" %d",i); } void pascal f(integer :i,integer:j,integer :k) { write(i,j,k); }
1 9143void pascal f(int i,int j,int k) { printf(“%d %d %d”,i, j, k); } void cdecl f(int i,int j,int k) { printf(“%d %d %d”,i, j, k); } main() { int i=10; f(i++,i++,i++); printf(" %d\n",i); i=10; f(i++,i++,i++); printf(" %d",i); }
1 10376What is the output of the program given below main() { signed char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
1 4568What is the output for the program given below typedef enum errorType{warning, error, exception,}error; main() { error g1; g1=1; printf("%d",g1); }
1 7239typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }
1 6693#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 5459#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 6733What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
1 5785void main() { if(~0 == (unsigned int)-1) printf(“You can answer this if you know how values are represented in memory”); }
1 5999
What is SGML?
Given a string=”me,I,myself”; .Using javascript only create an array out of this string and then send a POST request to the url “record.php” without reloading the page. The post key parameters should be n1,n2 and n3 respectively.
How to Check if File Exists?
i am doing my final year project about programming use verilog ,i am new about it so got problem,i want to record the readings of a waveform every 2us use the verilog code ,every ten readings i need to add them together after that i need to compare this series of number to get which one is the biggest , right now i don't know how to use code to store the readings every 2us on a waveform ,pls help me thanks a lot .
an on-line examination application using html jsp servlet and jdbc. including session management and cookies
Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.
How can you relate the function with the structure? Explain with an appropriate example.
Code for Using Keyboard Events?
code to detect availability of cookies
I am trying to pass the string firstName from a Servlet called SampleServet. I am running this on eclipse and it tells me that "the value for annotation attribute must be a constant expression. I don't understand why it is giving me this error. @PersonAnnotation(name = SampleServlet.firstName) public class AnnotationClass{
How to access oralce10g data from server to client in LAN?
how to create a Draggable element
write a program to calculate the amount of investment after a period n years if the principal investors was p and interest is calculated using compound interest,formular=a=p(1+r)^n
find out the list of users who have access to all t-codes starts with 'SU'? thanks in advance all.
What are the special characters used in XML?