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?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What should malloc() do?

1219


while initialization of array why we use a[][2] why not a[2][]...?

2402


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

2487


What are the advantages and disadvantages of c language?

1070


#include main() { char s[] = "Bouquets and Brickbats"; printf(" %c, ",*(&s[2])); printf("%s, ",s+5); printf(" %s",s); printf(" %c",*(s+2)); }

1178


will u please send me the placement papers to my mail???????????????????

1885


What is use of bit field?

1351


What is 1d array in c?

1156


how to write optimum code to divide a 50 digit number with a 25 digit number??

3301


how to count no of words,characters,lines in a paragraph.

4472


Is that possible to store 32768 in an int data type variable?

1139


How can you be sure that a program follows the ANSI C standard?

1657


How can you increase the allowable number of simultaneously open files?

1211


What is the difference between the expression “++a” and “a++”?

1275


What are the disadvantages of c language?

1257