How can a number be converted to a string?
We can convert int to String in java using String. valueOf() and Integer. toString() methods. Alternatively, we can use String.
| Is This Answer Correct ? | 0 Yes | 0 No |
How do you define structure?
There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side? Upload a C program to demonstrate the behaviour of the game.
Can U write a C-program to print the size of a data type without using the sizeof() operator? Explain how it works inside ?
What is structure in c explain with example?
write a program in c to print **** * * * * ****
What is a macro in c preprocessor?
plz answer....A program that takes 3 variables e.g a,b,c in as seperate parameters and rotates the values stored so that value goes a to b, b to c and c to a .
IS Doon college of Engn.. has good faculty
find out largest elemant of diagonalmatrix
Are the variables argc and argv are local to main?
difference between the array and linked list general difference related to memory
what does the following code do? fn(int n,int p,int r) { static int a=p; switch(n){ case 4:a+=a*r; case 3:a+=a*r; case 2:a+=a*r; case 1:a+=a*r; } } a.computes simple interest for one year b.computes amount on compound interest for 1 to 4 years c.computes simple interest for four year d.computes compound interst for 1 year