If "AaBbCc" is passed to the char
char x(*a)
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}
what will be the output?
Answer Posted / fazlur rahaman naik
the output will b cCbBaA
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain how to reverse singly link list.
Implement bit Array in C.
Why is structure important for a child?
What is array of pointers to string?
What is the difference between constant pointer and constant variable?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
How can you invoke another program from within a C program?
Which node is more powerful and can handle local information processing or graphics processing?
What is bash c?
When should structures be passed by values or by references?
Define Spanning-Tree Protocol (STP)
What are the disadvantages of c language?
Why is struct padding needed?
Write a program with dynamically allocation of variable.
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile