write a program of palindrome(madam=madam) using pointer?
Answer Posted / vikas
thank you
i needed this
do u hv any more questions-answer on pointer
| Is This Answer Correct ? | 11 Yes | 6 No |
Post New Answer View All Answers
Is it better to use malloc() or calloc()?
main() { struct s1 { char *str; struct s1 *ptr; }; static struct s1 arr[] = { {"Hyderabad",arr+1}, {"Bangalore",arr+2}, {"Delhi",arr} }; struct s1 *p[3]; int i; < BR> for(i=0;i<=2;i++) p[i] = arr[i].ptr; printf("%s ",(*p)->str); printf("%s ",(++*p)->str); printf("%s ",((*p)++)->str); }
What is output redirection?
an expression contains relational operators, assignment operators, and arithmatic operstors. In the absence of parentheses, they will be evaluated in which of the following order a) assignment, relational, arithematic b) arithematic, relational, assignment c) relational, arithematic, assignment d) assignment, arithematic, relational
What are void pointers in c?
What is FIFO?
about c language
Write a program to print all permutations of a given string.
main() { int i = 10; printf(" %d %d %d ", ++i, i++, ++i); }
write an algorithm to display a square matrix.
what is recursion in C
What is a string?
What is the best way to comment out a section of code that contains comments?
What is default value of global variable in c?
How can I prevent another program from modifying part of a file that I am modifying?