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 8272main() { 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 9140void 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 4563What is the output for the program given below typedef enum errorType{warning, error, exception,}error; main() { error g1; g1=1; printf("%d",g1); }
1 7235typedef struct error{int warning, error, exception;}error; main() { error g1; g1.error =1; printf("%d",g1.error); }
1 6684#ifdef something int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 5453#if something == 0 int some=0; #endif main() { int thing = 0; printf("%d %d\n", some ,thing); }
1 6731What is the output for the following program main() { int arr2D[3][3]; printf("%d\n", ((arr2D==* arr2D)&&(* arr2D == arr2D[0])) ); }
1 5777void main() { if(~0 == (unsigned int)-1) printf(“You can answer this if you know how values are represented in memory”); }
1 5992
Ask the user to input three positive integers M, N and q. Make the 2 dimensional array of integers with size MxN, where all the elements of I (I = 1,…,M) line will be members of geometrical progression with first element equal to the number of line (I) and denominator q.
code to sorting an array of objects
What is a valid XML document?
How to Split Strings with Regex in Managed C++ Applications?
how to get the User's Time of Day
write a function that reverse the elements of an array in place.The function must accept only one pointer value and return void.
Code for IP Address Comparison and Conversion in C#?
What is the functionality of SendMessage?
Can you write a program to find the average of numbers in a list in python?
how to programme using switch statements and fuctions, a programme that will output two even numbers, two odd numbers and two prime numbers of the users chioce.
#include
Dear sirs, Hi, I would like to inform you that I want to perform a project using MLP neural network to recognize binary images containing three types of geometric shapes such as squares,rectangels and circles. Furthermore,each image includes only one geometric type. The output of network would be: '1' if the network detects square shape. '2' if the network detects rectangle shape. '3' if the network detects circle shape. '4' if none of these shapes detected. Would you please send me a matlab source code for this project? Your prompt reply would be so appreciated. regards,
what is main difference between array_push and array_pop?
We need to write the function to check the password entered is correct or not based on the following conditions.. a) It must have atleast one lower case character and one digit. b)It must not have any Upper case characters and any special characters c) length should be b/w 5-12. d) It should not have any same immediate patterns like abcanan1 : not acceptable coz of an an pattern abc11se: not acceptable, coz of pattern 11 123sd123 : acceptable, as not immediate pattern adfasdsdf : not acceptable, as no digits Aasdfasd12: not acceptable, as have uppercase character
How to use Client-side Script to Focus Controls in ASP.NET?