how to concatenate the two strings
Answer / hasini
simple steps:
String s1 = "Hello, ";
String s2 = "world!";
String s3 = s1 + s2;
System.out.println(s3);
// prints out: Hello, world!
| Is This Answer Correct ? | 3 Yes | 2 No |
how to delete an element in an array
main() { int i =0;j=0; if(i && j++) printf("%d..%d",i++,j); printf("%d..%d,i,j); }
can u give me the c codings for converting a string into the hexa decimal form......
Given an array of characters which form a sentence of words, give an efficient algorithm to reverse the order of the words (not characters) in it.
programming in c lanugaue programm will errror error with two header file one as stdio.h and other one is conio.h
main() { 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; } }
What is your nationality?
Extend the sutherland-hodgman clipping algorithm to clip three-dimensional planes against a regular paralleiepiped
main() { int y; scanf("%d",&y); // input given is 2000 if( (y%4==0 && y%100 != 0) || y%100 == 0 ) printf("%d is a leap year"); else printf("%d is not a leap year"); }
void main() { int *i = 0x400; // i points to the address 400 *i = 0; // set the value of memory location pointed by i; }
main() { int a[10]; printf("%d",*a+1-*a+3); }
Set up procedure for generating a wire frame display of a polyhedron with the hidden edges of the object drawn with dashed lines