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 8171main() { 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 9027void 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 10266What is the output of the program given below main() { signed char i=0; for(;i>=0;i++) ; printf("%d\n",i); }
1 4477What is the output for the program given below typedef enum errorType{warning, error, exception,}error; main() { error g1; g1=1; printf("%d",g1); }
1 7124typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }
1 6588#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 5352#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 6618What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
1 5674void main() { if(~0 == (unsigned int)-1) printf(“You can answer this if you know how values are represented in memory”); }
1 5891
Using C# Write a program that performs the following. The user inputs a number and then enters a series of numbers from 1 to that number. Your program should determine which number (or numbers) is missing or duplicated in the series, if any. For example, if the user entered 5 as the initial number and then entered the following sequences, the results should be as shown. Input Sequence Output ---------------------- --------------- 1 2 3 4 5 Nothing bad However, if 7 were the high number, the user would see the results on the right for the following number entries: Input Sequence Output ---------------------- --------------- 1 3 2 4 5 Missing 6 Missing 7 And if 10 were the high number and the user entered the numbers shown on the left, note the list of missing and duplicate numbers: Input Sequence Output ---------------------- --------------- 1 2 4 7 4 4 5 10 8 2 6 Duplicate 2 ( 2 times) Missing 3 Duplicate 4 ( 3 times ) Missing 9 The program should check the high number that the user inputs to ensure that it does not exceed the size of any array you might be using for storage.
develop a program to calculate and print body mass index for 200 employees
How comment can be represented in XML?
Can I replace HTML with XML?
How to export 2 datatables of a single dataset to 2 different worksheets of a single MSExcel file ?
what mean void creat_object?in public class in this code class A{ public: int x; A(){ cout << endl<< "Constructor A";} ~A(){ cout << endl<< "Destructor A, x is\t"<< x;} }; void create_object(); void main() { A a; a.x=10; { A c; c.x=20; } create_object(); } void create_object() { A b; b.x=30; }
how to use the GetTickCount() properly and what is that procedure for?
what full form name of B.K.U.
how to insert fname,lname,designation values into database while click on the submit button using windows authentication mode?
Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.
how to create a search bar which access data from various websites and retrieves the data
JasperETL how to install and create simple project explain me clearly fnds iam wtg for ur rply
What is a well formed XML document?
Cluster head selection in Wireless Sensor Network using C programming language.
plz send code for Ecorps in j2ee frontend:J2EE Backend: DB2 Express