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...


ABCDCBA
ABC CBA
AB BA
A A

Answers were Sorted based on User's Feedback



ABCDCBA ABC CBA AB BA A A..

Answer / aarti

a.b.c=c.b.a this statement should be inside any program ang
this should give real meaning

Is This Answer Correct ?    0 Yes 3 No

ABCDCBA ABC CBA AB BA A A..

Answer / notgate779

http://allinterview.com/showanswers/89174.html
<a
href="http://allinterview.com/showanswers/89174.html">click</a>

Is This Answer Correct ?    0 Yes 4 No

ABCDCBA ABC CBA AB BA A A..

Answer / mathu

import java.io.*;

class MainAlpha{
public static void main(String args[])
{
for(int i=65;i<=67;i++){
System.out.printf("%c",i);
System.out.printf("\t");
}
System.out.print("");
for(int j=66;j>=65;j--){
System.out.printf("%c",j);
System.out.printf("\t");
}
System.out.println("");


for(int i=65;i<=66;i++){
System.out.printf("%c",i);
System.out.printf("\t");
}
System.out.print("\t");

for(int j=66;j>=65;j--){
System.out.printf("%c",j);
System.out.printf("\t");
}

System.out.println("");


for(int i=65;i<=65;i++){
System.out.printf("%c",i);
System.out.printf("\t");
}
System.out.print("\t");
System.out.print("\t");
System.out.print("\t");

for(int j=65;j>=65;j--){
System.out.printf("%c",j);
System.out.printf("\t");
}

}

}

Is This Answer Correct ?    3 Yes 7 No

ABCDCBA ABC CBA AB BA A A..

Answer / vignesh1988i

good question it is :

#include<stdio.h>
#include<conio.h>
void main()
{
int m;
char n,o;
printf("enter the no. of lines :");
scanf("%d",&m);
o='A';
for(int i=0;i<m;i++)
{
n='A';
for(int j=0;j<(m-i);j++)
printf("%c",n++);
for(j=0;j<i;j++)
printf(" ");
for(j=0;j<(m-(i+1));j++)
{
if(j==0||j==1)
{
n='A'+(m-2);
printf("%c",n);
}
else
printf("%c",--n);
}
printf("\n");
}
getch();
}

thnak u

Is This Answer Correct ?    10 Yes 16 No

Post New Answer

More C Interview Questions

Why is not a pointer null after calling free?

0 Answers  


char S; char S[6]= " HELLO"; printf("%s ",S[6]); output of the above program ? (0, ASCII 0, I,unpredictable)

7 Answers   Mascot,


What are the types of unary operators?

0 Answers  


Explain how can I pad a string to a known length?

0 Answers  


How to Clear last bit if it 1 using Macro TURN_OFF_BIT_LAST

6 Answers   Adobe, Huawei,


how to find the size of the data type like int,float without using the sizeof operator?

13 Answers  


which type of question asked from c / c++ in interview.

2 Answers  


we have a 3litres jug and a 5 litres jug and no measures on them. using these two jugs how can we measure 4 litres of water?

2 Answers   Convergys,


Explain how can a program be made to print the name of a source file where an error occurs?

0 Answers  


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

0 Answers  


What is the difference between malloc() and realloc()?

2 Answers  


What should malloc(0) do?

0 Answers  


Categories