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 8373main() { 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 9232void 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 10470What is the output of the program given below main() { signed char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
1 4644What is the output for the program given below typedef enum errorType{warning, error, exception,}error; main() { error g1; g1=1; printf("%d",g1); }
1 7334typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }
1 6820#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 5535#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 6817What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
1 5864void main() { if(~0 == (unsigned int)-1) printf(“You can answer this if you know how values are represented in memory”); }
1 6078
Code for Easily Using Hash Table?
Write a python program to check if a number is a strong number?
1.What type of material can be sent from a Java servlet to a browser ? How does the browser know how to deal with the material? 2.Explain what happens to a servlet when a servlet engine is sent a GET request.
maximizing the main window
write a function to give demostrate the functionality of 3d in 1d. function prototye: change(int value,int indexX,int indexY,int indexZ, int [] 1dArray); value=what is the date; indexX=x-asix indexY=y-axis indexZ=z-axis and 1dArray=in which and where the value is stored??
write a code that user can choose/alter Body Text Size
What is the functionality of EnumWindows?
What is a valid XML document?
why do you use macros? Explain a situation where you had to incorporate macros in your proc report? use a simple instream data example with code ?
Can you write a program to find the average of numbers in a list in python?
I have multiple datasets and I have to search a particular string in all of them at a single time. Please suggest a full jcl or rexx tool for it.
how to use the GetTickCount() properly and what is that procedure for?
Which framework is best in php among Smarty, Cakephp, Joomla, Drupal, Zend or Something else...? If any then Why?
How to add a value from textBox over an existing certain column in SQL Server
How to find No of classes,Packages,No of Methods per Classes and Depth of Inheritance for selecting source code in windows form application using c# .net? (Source code is input Program. It may be Java or .net) Please help me..) Thanks..)