to convert a string without using decrement operater and
string functions
Answer / shiva
itoa() int to string
atoi() this is to string to int
| Is This Answer Correct ? | 1 Yes | 0 No |
What is the o/p of the follow pgm? #include<stdio.h> main() { char char_arr[5]=”ORACL”; char c=’E’; prinf(“%s\n”,strcat(char_arr,c)); } a:oracle b. oracl c.e d.none
write a proram to reverse the string using switch case?
To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9
enum colors {BLACK,BLUE,GREEN} main() { printf("%d..%d..%d",BLACK,BLUE,GREEN); return(1); }
array of pointer pointer to array pointer to pointer
implement OR gate without using any bitwise operator.
void main() { static int i = 5; if(--i) { main(); printf("%d ",i); } } what would be output of the above program and justify your answer? }
5 Answers C DAC, CDAC, Infosys, Wipro,
int i=~0; uint j=(uint)i; j++; printf(“%d”,j);
What are header files why are they important?
How can you call a function, given its name as a string?
Write a program that can show the multiplication table.
Is c compiled or interpreted?