Programming Code (840)
Scripts_Markup Code (257) main() { char s[ ]="man"; int i; for(i=0;s[ i ];i++) printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]); }
DCE,
1 17388main() { float me = 1.1; double you = 1.1; if(me==you) printf("I love U"); else printf("I hate U"); }
1 9709main() { int c[ ]={2.8,3.4,4,6.7,5}; int j,*p=c,*q=c; for(j=0;j<5;j++) { printf(" %d ",*c); ++q; } for(j=0;j<5;j++){ printf(" %d ",*p); ++p; } }
1 33147main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }
1 25615main() { int i=3; switch(i) { default:printf("zero"); case 1: printf("one"); break; case 2:printf("two"); break; case 3: printf("three"); break; } }
1 15346main() { char string[]="Hello World"; display(string); } void display(char *string) { printf("%s",string); }
2 11626#include
code to images to rollover
Write a python program to check if a number is an armstrong number?
code to detect versions of different browsers like internet explorer, netscape, mozilla, opera etc
Hi, I want the code to fetch multiple rows in REXX using RLX and CURSOR. Can anyone help me?
Please give me the vb.net codes for deadlock(like detecting,& avoiding) in any version of vb.net.
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
Given a circular list of integers (when you reach the end of the list you come back to the beginning), what is the most efficient algorithm to find the smallest integer in the list? For example: circular_list = [22, 52, 66, 82, 5, 8, 12, 19].
code to get the coordinates of a Click Event
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
Do you think about CMM(Capability Maturity Model) process?
How can I Draw an ellipse in 3d space and color it by using graph3d?
program for straight line(y=mx+c)
What is the coding about how to recognize color in fuzzy logic using Matlab R2009b?
Write a python program to find the second largest number in a list?
write a simple calculator c program to perform addition, subtraction, mul and div.