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 |
wite a programme in c to linear search a data using flag and without using flags?
#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }
main() { char *p; p="Hello"; printf("%c\n",*&*p); }
What are the Advantages of using macro
x=2,y=6,z=6 x=y==z; printf(%d",x)
13 Answers Bharat, Cisco, HCL, TCS,
How is actual parameter different from the formal parameter?
What is const and volatile in c?
If one class contains another class as a member, in what order are the two class constructors called a) Constructor for the member class is called first b) Constructor for the member class is called second c) Only one of the constructors is called d) all of the above
the 'sizeof' operator reported a larger size than the calculated size for a structure type. What could be the reason?
What is the difference between void main and main in c?
What is a lvalue
#include<stdio.h> int main() { int i=2; int j=++i + ++i + i++; printf("%d\n",i); printf("%d\n",j); }