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

What's wrong with "char *p; *p = malloc(10);"?

5 Answers  


What is the difference between exit() and _exit()?

2 Answers  


#include<stdio.h> { printf("Hello"); } how compile time affects when we add additional header file <conio.h>.

0 Answers  


Write a code to determine the total number of stops an elevator would take to serve N number of people.

0 Answers   Expedia,


DIFFERNCE BETWEEN THE C++ AND C LANGUAGE?

2 Answers   Wipro,


write a program to sum of its digit with using control structure or with out using loop. for ex: let the number is 25634 then answer will be=2+5+6+3+4=20

4 Answers  


Explain what are compound statements?

0 Answers  


why programs in c are running with out #include<stdio.h>? some warnings are display in terminal but we execute the program we get answer why? eg: main() { printf("hello world "); }

0 Answers  


How to implement a packet in C

0 Answers   Aricent,


what is the difference between definition and declaration? give me some examples.

2 Answers   TCS,


Where does the name "C" come from, anyway?

0 Answers   Celstream,


What does it mean when a pointer is used in an if statement?

0 Answers  


Categories