Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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?

Answers were Sorted based on User's Feedback



If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",..

Answer / fazlur rahaman naik

the output will b cCbBaA

Is This Answer Correct ?    3 Yes 0 No

If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",..

Answer / roopa

cCbBaA

Is This Answer Correct ?    3 Yes 0 No

If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",..

Answer / ravi saini

Recursion based question........

Output wil be

cCbBaA

Is This Answer Correct ?    3 Yes 0 No

If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",..

Answer / vint

char x(char *a) // Argument Pointer declaration was missing
{
a[0]?x(a+1):1;
printf("%c",a[0]);
return 1;
}

Output: cCbBaA

Is This Answer Correct ?    0 Yes 0 No

If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",..

Answer / roopa

cba

Is This Answer Correct ?    0 Yes 1 No

If "AaBbCc" is passed to the char char x(*a) { a[0]?x(a+1):1; printf("%c",..

Answer / roopa

bBcCbBaA

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More C Interview Questions

If jack lies on Mon, Tue Wed and jill lies on Thursday, Friday and Saturday. If both together tell they lied yesterday. So c the given options and then c cos in the given dates one will be saying the truth and one will be lying. I got Thursday as option because jack is saying the truth he lied yest but jill is lying again as he lies on that day.

0 Answers   TCS,


How can you restore a redirected standard stream?

0 Answers  


4-Take two sets of 5 numbers from user in two arrays. Sort array 1 in ascending and array 2 in descending order. Perform sorting by passing array to a function mySort(array, sortingOrder). Then multiply both the arrays returned from function, using metric multiplication technique in main. Print result in metric format.

0 Answers   TCS,


atoi, which takes a string and converts it to an integer. write a program that reads lines(using getline), converts each line to an integer using atoi and computes the average of all the numbers read. also compute the standard deviation

0 Answers  


Define recursion in c.

0 Answers  


Why is struct padding needed?

0 Answers  


What is static memory allocation? Explain

0 Answers  


How is null defined in c?

0 Answers  


what is the definition of storage classes?

3 Answers   Wipro,


How can I change their mode to binary?

0 Answers  


why java is called as a purely oops language.

3 Answers   TVS,


write a program to print the all 4digits numbers & whose squares must me even numbers?

2 Answers   Virtusa,


Categories